YOLOv5测试过程中报错IndexError: index 79 is out of bounds for axis 0 with size 2

在YOLOv5测试过程中报错IndexError: index 79 is out of bounds for axis 0 with size 2

解决方法:造成这种情况一般是数据集导入错误,在val.py文件里看一下yaml文件和权重文件是不是配置正确


版权声明:本文为weixin_47060902原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。