Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6403 Discussions

freeze_graph.py can not import checkpoint_management

idata
Employee
867 Views

in freeze_graph.py, line 58, during make in mobilenet example.

 

from tensorflow.python.training import checkpoint_management

 

will report error 'can not import name checkpoint_management'.

 

if I change it to import checkpoint_management and move checkpoint_management.py to the same directory with freeze_graph.py,

 

compilation works without error.

 

I have tried it on two laptops, $PYTHONPATH is /opt/movidius/caffe/pyhton.

 

Is there any steps I miss?

 

Thanks.
0 Kudos
3 Replies
idata
Employee
553 Views

@Curry This is a known issue. The TensorFlow freeze_graph.py script changed and you'll have to refer back to a previous commit in the TensorFlow github.

 

Just updated the NCAPPZOO github repo. Please try re-cloning the ncappzoo and trying again. Thanks.

0 Kudos
idata
Employee
553 Views

@Tome_at_Intel

 

Thanks for your help. It works fine.
0 Kudos
idata
Employee
553 Views

Hi

 

I am facing the same problem. Kindly advise.

 

Umer

0 Kudos
Reply