Skip to content
This repository was archived by the owner on May 28, 2022. It is now read-only.

Cannot import name 'string_int_label_map_pb2' #30

Closed
abdou31 opened this issue May 18, 2020 · 1 comment
Closed

Cannot import name 'string_int_label_map_pb2' #30

abdou31 opened this issue May 18, 2020 · 1 comment

Comments

@abdou31
Copy link

abdou31 commented May 18, 2020

Hello, When I try to run the main_train.py, I got this error :

from object_detection.protos import string_int_label_map_pb2
ImportError: cannot import name 'string_int_label_map_pb2'

Please how can I solve it????

@TannerGilbert
Copy link
Owner

This error occurs if the protobuf libraries aren't compiled correctly. Check ou the Protobuf Installation/Compilation section in my installation guide for a step-by-step guide on how to correctly compile the protobuf libraries.

If this doesn't solve your problem take a look at the following Github issues:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants