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

阅读 62

2023-04-05


直接附上解决方法:

将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)

0 0 举报