我是Tensorflow的新手,并且从utils import label_map_util中收到导入错误。我遵循了模型的所有安装步骤,但是仍然出现此错误:
ImportError Traceback (most recent call last)
<ipython-input-6-894414a64172> in <module>()
----> 1 from utils import label_map_util
2 from utils import visualization_utils as vis_util
C:\Tensorflow1\models\research\object_detection\utils\label_map_util.py in <module>()
24 import tensorflow as tf
25 from google.protobuf import text_format
---> 26 from object_detection.protos import string_int_label_map_pb2
27
28
ImportError: cannot import name 'string_int_label_map_pb2'
from utils import label_map_util
from utils import visualization_utils as vis_util```