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
Traceback (most recent call last):
File "seg.py", line 89, in
MODEL = DeepLabModel(modelType)
File "seg.py", line 25, in init
graph_def = tf.GraphDef.FromString(open(tarball_path + "/frozen_inference_graph.pb", "rb").read())
AttributeError: module 'tensorflow' has no attribute 'GraphDef'
I am getting this error when execute the given command. Can you please help me on this?
The text was updated successfully, but these errors were encountered:
Are you using tensorflow==2.0.0? I had this issue when I installed the newest version of tensorflow. I resolved the issue by installed tensorflow==1.14. I imagine with the recent update to 2.0 there is some broken code. If you (or anyone) has the time to look at the code and update it for the 2.0 release, that would be awesome!
$python3 seg.py sample.jpg sample.png
Traceback (most recent call last):
File "seg.py", line 89, in
MODEL = DeepLabModel(modelType)
File "seg.py", line 25, in init
graph_def = tf.GraphDef.FromString(open(tarball_path + "/frozen_inference_graph.pb", "rb").read())
AttributeError: module 'tensorflow' has no attribute 'GraphDef'
I am getting this error when execute the given command. Can you please help me on this?
The text was updated successfully, but these errors were encountered: