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

成功!

猜你喜欢

转载自blog.csdn.net/weixin_44692055/article/details/128609454
今日推荐