yolov5 AssertionError: Image Not Found

yolov5 AssertionError: Image Not Found

图片存在却提示找不到。
解决:将datasets.py中第124行的
p = str(Path(path).absolute()) # os-agnostic absolute path
改为
p = str(Path(path))

参考:https://www.imooc.com/article/310270?block_id=tuijian_wz

你可能感兴趣的:(python,pytorch,深度学习)