训练时找不到标签
Opened this issue · 1 comments
Mei118 commented
前面所有过程运行都没有问题了,运行train.py时出现这个错误
No labels in {cache_path}. Can not train without labels. See {HELP_URL}'
AssertionError: train: No labels in /home/mjh/图片/S2ANet/data/DOTA/train/labels.cache. Can not train without labels. See https://github.com/ultralytics/yolov5/wiki/Train-Custom-Data
把labels.cache文件删除再来也还是不行,请问有什么办法吗
chongkuiqi commented
前面所有过程运行都没有问题了,运行train.py时出现这个错误 No labels in {cache_path}. Can not train without labels. See {HELP_URL}' AssertionError: train: No labels in /home/mjh/图片/S2ANet/data/DOTA/train/labels.cache. Can not train without labels. See https://github.com/ultralytics/yolov5/wiki/Train-Custom-Data 把labels.cache文件删除再来也还是不行,请问有什么办法吗
(1)labels文件夹下有.txt标签吗?请提供.txt标签的内容格式
(2)请把labels.cache删除再运行,然后提供一下报错窗口截图