训练yolov7报错AssertionError: train: No labels in XX\train.cache. Can not train without labels

在这里插入图片描述

原因:自己的数据集文件夹和dataset中的数据集名称不同。
在这里插入图片描述

代码中要求的文件名是Images和Labels,可能自己命名的是image和label

参考:https://code84.com/38177.html

猜你喜欢

转载自blog.csdn.net/weixin_44021553/article/details/128957813