You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ubuntu@vm:~/code/tensorflow$ python tensorflow/python/tools/freeze_graph.py --input_graph=/tmp/mobilenet_v1_1.0_224.pb --input_binary=true --output_graph=/tmp/frozen_mobilenet_v1_224.pb --output_node_names=MobilenetV1/Predictions/Reshape_1
Traceback (most recent call last):
File "tensorflow/python/tools/freeze_graph.py", line 45, in <module>
from tensorflow.core.framework import graph_pb2
File "/home/ubuntu/code/tensorflow/tensorflow/__init__.py", line 24, in <module>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "/home/ubuntu/code/tensorflow/tensorflow/python/__init__.py", line 49, in <module>
from tensorflow.python import pywrap_tensorflow
File "/home/ubuntu/code/tensorflow/tensorflow/python/pywrap_tensorflow.py", line 25, in <module>
from tensorflow.python.platform import self_check
ImportError: No module named platform
The text was updated successfully, but these errors were encountered:
Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce
and my command need to modified as:
python -m tensorflow.python.tools.freeze_graph
--input_graph=/tmp/mobilenet_v1_1.0_224.pb
--input_checkpoint=/tmp/checkpoints/mobilenet_v1_1.0_224.ckpt
--input_binary=true
--output_graph=/tmp/mobilenet_v1_1.0_224_frozen.pb
--output_node_names=MobilenetV1/Predictions/Reshape_1
environment: ubuntu 1604, python 2.7
there is error, but why???
The text was updated successfully, but these errors were encountered: