-
Notifications
You must be signed in to change notification settings - Fork 596
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
ImportError: cannot import name 'string_int_label_map_pb2' from 'object_detection.protos' #21
Comments
when I run |
!python {SCRIPTS_PATH + '/generate_tfrecord.py'} -x {IMAGE_PATH + '/train'} -l {ANNOTATION_PATH + '/label_map.pbtxt'} -o {ANNOTATION_PATH + '/train.record'} |
I got this error |
PLZ Help me! |
got this problem too :( |
I found a thread about installing a protoc thing on GitHub (as well as stack overflow) |
Why is this object detection have to be this hard?? can anyone provide a solution to this problem.... |
did anyone got the way to correct this error?? |
evn: Win10+Anaconda
Traceback (most recent call last):
File "F:\SSD-MobileNet\Python\sign_language\RealTimeObjectDetection\Tensorflow\scripts\generate_tfrecord.py", line 29, in
from object_detection.utils import dataset_util, label_map_util
File "C:\ProgramData\Anaconda3\lib\site-packages\object_detection\utils\label_map_util.py", line 21, in
from object_detection.protos import string_int_label_map_pb2
ImportError: cannot import name 'string_int_label_map_pb2' from 'object_detection.protos' (C:\ProgramData\Anaconda3\lib\site-packages\object_detection\protos_init_.py)
Traceback (most recent call last):
File "F:\SSD-MobileNet\Python\sign_language\RealTimeObjectDetection\Tensorflow\scripts\generate_tfrecord.py", line 29, in
from object_detection.utils import dataset_util, label_map_util
File "C:\ProgramData\Anaconda3\lib\site-packages\object_detection\utils\label_map_util.py", line 21, in
from object_detection.protos import string_int_label_map_pb2
ImportError: cannot import name 'string_int_label_map_pb2' from 'object_detection.protos' (C:\ProgramData\Anaconda3\lib\site-packages\object_detection\protos_init_.py)
The text was updated successfully, but these errors were encountered: