当我尝试运行此语句时
from utils import label_map_util
我收到以下错误,我按照对象检测安装文档中的所有步骤进行操作,仍然收到此错误。
File "object_detection/object_detection.py", line 19, in <module>
from utils import label_map_util
File "/Users/ramanandsirvi/Documents/tensorflow/models/research/object_detection/utils/label_map_util.py", line 26, in <module>
from object_detection.protos import string_int_label_map_pb2
File "/Users/ramanandsirvi/Documents/tensorflow/models/research/object_detection/object_detection.py", line 21, in <module>
from utils import visualization_utils as vis_util
File "/Users/ramanandsirvi/Documents/tensorflow/models/research/object_detection/utils/visualization_utils.py", line 41, in <module>
from object_detection.core import standard_fields as fields
ModuleNotFoundError: No module named 'object_detection.core'; 'object_detection' is not a package```