编程鬼谷子的博客

AssertionError: Image Not Found

问题

要 detect 的图片找不到

解决方案

查阅他人解决方案,最终通过修改 utils\datasets.py 中的 LoadImages类中的图片路径解决。

在这里插入图片描述
将图中的红色改为绿色语句即可,下边的 p 爆红不影响,不需要纠结,实测有效。
最后回到 detect.py 运行,成功预测。

在这里插入图片描述

参考:https://blog.csdn.net/Bugs_creater/article/details/115631408
https://www.imooc.com/article/310270?block_id=tuijian_wz

« Previous

nexus私服npm包踩坑记录

Next »

基类的指针和派生类的指针到底有什么本质的区别?

© 2024 编程鬼谷子的博客. Generated with Hugo and Mainroad theme.