目录
1.报错:WARNING: No labels found in XXX/imageset.cache.
2.报warning:yolov5 Ignoring corrupted image and/or label .jpg: negative labels
3.报warning:yolov5 Ignoring corrupted image and/or label .jpg: duplicate labels
数据处理问题
1.报错:WARNING: No labels found in XXX/imageset.cache.
报错原因是用于训练图片的文件夹的名字写错了,原本是
然后错误将images名写成了imageset,修改过来就可以了;
2.报warning:yolov5 Ignoring corrupted image and/or label .jpg: negative labels
标签内部有负值:
例如我的txt内容就有:
有一个负值,需要修改错误标签;
3.报warning:yolov5 Ignoring corrupted image and/or label .jpg: duplicate labels
这种报错原因是由于标签文件中,有目标区域被重复标记,需要修改标签;