-
Notifications
You must be signed in to change notification settings - Fork 508
Open
Description
作者你好,我在运行我自己的数据集,到了最后一个epoch时,出现了下面的错误
Traceback (most recent call last):
File "F:/jinyuan/yolor-main/train.py", line 537, in
train(hyp, opt, device, tb_writer, wandb)
File "F:/jinyuan/yolor-main/train.py", line 344, in train
log_imgs=opt.log_imgs if wandb else 0)
File "F:\jinyuan\yolor-main\test.py", line 226, in test
plot_images(img, output_to_target(output, width, height), paths, f, names) # predictions
File "F:\jinyuan\yolor-main\utils\plots.py", line 163, in plot_images
cls = names[cls] if names else cls
IndexError: list index out of range
因为这个问题,导致最后在run里面少了很多图片,没有mAp的曲线图
请教,这是什么原因导致的呢,有何解决的方法,谢谢
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels