2019.6.22object detection of a problem

My problem is not to those it before or since, a variety of error, is finally ready to run (but still a problem) I only remember a few too many. .
Nothing is it working in the case of get it working without sleep. . .
Not os.path.exists 1.If (PATH_TO_CKPT):
Print ( 'Model Downloading ... (This On May Take over. 5 minutes)')
opener urllib.request.URLopener = ()
opener.retrieve (DOWNLOAD_BASE + model_file, model_file)
Print ( 'Extracting ...')
tar_file = tarfile.open (model_file)
for File in tar_file.getmembers ():
file_name = os.path.basename ( file.name )
IF 'frozen_inference_graph.pb' in file_name:
tar_file.extract (File, os .getcwd ())
the else:
Print ( '. the Model already the downloaded')
being given: urllib.error.HTTPError: HTTP Error 302: Found
solution: manually downloads
ssd_mobilenet_v1_coco_2017_11_17.tar.gz decompression
frozen_inference_graph.pb
2.tensorflow.python.framework.errors_impl.NotFoundError: NewRandomAccessFile not create / open :: \ u03f5 \ u0373 \ udcd5 \ u04b2 \ udcbb \ udcb5 \ udcbd \ u05b8 \ udcb6 \ udca8 \ udcb5 \ udcc4 · \ udcbe \ udcb6 \ udca1 \ udca3
solve: the file path does not mscoco_label_map.pbtxt

Guess you like

Origin blog.csdn.net/weixin_43732462/article/details/93331437