Skip to content

Error importing string_int_label_map_pb2 #2322

@jayshah19949596

Description

@jayshah19949596

When I run the object_detection_tutorial.ipynb i get the following error
ImportError Traceback (most recent call last)
in ()
----> 1 from utils import label_map_util
2
3 from utils import visualization_utils as vis_util
D:\Personal\learn\ML\DL\Tensorflow\Official-Tutorial\models-master\object_detection\utils\label_map_util.py in ()
20 import tensorflow as tf
21 from google.protobuf import text_format
---> 22 from object_detection.protos import string_int_label_map_pb2
23
24
ImportError: cannot import name 'string_int_label_map_pb2'

I did run the following command : "C:\Program Files\protoc\bin\protoc" object_detection/protos/*.proto --python_out=.

but still error in importing string_int_label_map_pb2

Metadata

Metadata

Assignees

No one assigned

    Labels

    models:researchmodels that come under research directorystat:awaiting responseWaiting on input from the contributor

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions