RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

环境:Windows10,yolov5,Anaconda3的python3.8虚拟环境

以下是具体报错

RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

Namespace后面括号里的weights默认值需要改一下。但是代码还没去研究,所以可以先自己设置参数。

python detect.py--weights weights/yolov5s.pt

成功!

RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory_第1张图片
RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory_第2张图片

你可能感兴趣的:(python,python图片处理深度学习,python,开发语言)