0
点赞
收藏
分享

微信扫一扫

YOLOV5报错: in __next__ assert img0 is not None, ‘Image Not Found ‘ + path


直接附上解决方法:

将utils/datasets.py文件中的

p = str(Path(path).absolute()) # os-agnostic absolute path

改为

p = str(Path(path))

如图,为修改后的结果:修改后重新运行即可

YOLOV5报错: in __next__ assert img0 is not None, ‘Image Not Found ‘ + path_pytorch


举报

相关推荐

0 条评论