-
Notifications
You must be signed in to change notification settings - Fork 45.6k
no test_ckpt/ssd_inception_v2.pb file for /models/object_detection/object_detection_tutorial.ipynb #1576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
yes, I face the same issue. Please help with it. thx |
Hi everyone - Thanks for reporting this --- we need to update the documentation/notebook a bit to better reflect what needs to be done. What you can do to get it running for now is to follow the instructions here: |
We have a pull request out to address this issue: |
@june9713, does @derekjchow's pr address your needs? |
@aselle , It is updated! Now I can run test code now! Thanks! :-) |
On Windows OS, I was getting this error I downloaded the file "ssd_inception_v2_coco" and extracted the tar , renamed it to ssd_inception_v2.pb, now I get the below error DecodeError Traceback (most recent call last) c:\program files\anaconda3\lib\site-packages\google\protobuf\message.py in ParseFromString(self, serialized) c:\program files\anaconda3\lib\site-packages\google\protobuf\internal\python_message.py in MergeFromString(self, serialized) c:\program files\anaconda3\lib\site-packages\google\protobuf\internal\python_message.py in InternalParse(self, buffer, pos, end) c:\program files\anaconda3\lib\site-packages\google\protobuf\internal\decoder.py in SkipField(buffer, pos, end, tag_bytes) c:\program files\anaconda3\lib\site-packages\google\protobuf\internal\decoder.py in _SkipGroup(buffer, pos, end) c:\program files\anaconda3\lib\site-packages\google\protobuf\internal\decoder.py in SkipField(buffer, pos, end, tag_bytes) c:\program files\anaconda3\lib\site-packages\google\protobuf\internal\decoder.py in _RaiseInvalidWireType(buffer, pos, end) DecodeError: Tag had invalid wire type.Please help solve |
@bsrinivas84 source code is updated. please re-download and check what is changed. new source code is working correctrly. |
Thanks June9713 for quick response. ============= D:\Personal\learn\ML\DL\Tensorflow\Official-Tutorial\models-master\object_detection\utils\label_map_util.py in () ImportError: cannot import name 'string_int_label_map_pb2'To workaround/proceed I commented the following line in "label_map_util.py" But I am now getting error at step "Loading label map" So need your help to solve the error in step "Object detection imports" |
@bsrinivas84 |
Thanks June, I did multiple edits to try get it working. It works now..Many Thanks to your quick inputs. Also had to do this #1595 |
with your error? You should prepare the following libraries and note some things .
|
Thanks for your new Great object detection model.
I'm trying to test /models/object_detection/object_detection_tutorial.ipynb with jupyter notebook.
but there missing file , "test_ckpt/ssd_inception_v2.pb"
this is sample code.
PATH_TO_CKPT = os.path.join('test_ckpt', 'ssd_inception_v2.pb')
and,
with tf.gfile.GFile(PATH_TO_CKPT, 'rb') as fid:
serialized_graph = fid.read()
od_graph_def.ParseFromString(serialized_graph)
tf.import_graph_def(od_graph_def, name='')
So , PATH_TO_CKPT( = test_ckpt/ssd_inception_v2.pb) is need to run test code.
please check it and let me know how to down load this file please. :-)
Thanks for reading!
The text was updated successfully, but these errors were encountered: