我正在使用以下链接来训练我的物体检测模型
https://github.com/EdjeElectronics/TensorFlow-Object-Detection-API-
Tutorial-Train-Multiple-Objects-Windows-10
我正在尝试执行用于检测对象的object_detection_image.py文件。该错误发生在上述链接的第8步中。我遇到以下错误:
Traceback (most recent call last):
1. File "C:\Users\Swayam\Anaconda3\envs\tensor\Lib\site-
packages\object_detection-0.1-
py3.5.egg\object_detection\Object_detection_image.py", line 57,
in <module>
label_map = label_map_util.load_labelmap(PATH_TO_LABELS)
2. File "C:\Users\Swayam\Anaconda3\envs\tensor\Lib\site-
packages\object_detection-0.1-p
y3.5.egg\object_detection\utils\label_map_util.py", line 133, in
load_labelmap
label_map_string = fid.read()
3. File "C:\Users\Swayam\Anaconda3\envs\tensor\lib\site-
packages\tensorflow\python\lib\io\file_io.py", line 125, in read
self._preread_check()
File "C:\Users\Swayam\Anaconda3\envs\tensor\lib\site-
packages\tensorflow\python\lib\io\file_io.py", line 85, in
_preread_check
compat.as_bytes(self.__name), 1024 * 512, status)
4. File "C:\Users\Swayam\Anaconda3\envs\tensor\lib\site-
packages\tensorflow\python\framework\errors_impl.py", line 528,
in __exit__
c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.NotFoundError:
NewRandomAccessFile failed to Create/Open:
C:\Users\Swayam\Anaconda3\envs\tensor\Lib\site-
packages\object_detection-0.1-
py3.5.egg\object_detection\training\labelmap.pbtxt : The system
cannot find the path specified.
; No such process