-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PCB_coco数据 训练报错 #149
Comments
coco数据集上均没有此类似报错,建议重新检查下数据集制作,排除空标注或不合理标注框,同时reader里去除mosaic再试试
|
此外单卡训总bs太小了,gt是不是每张图也很少?这样容易mosaic后无框。建议扩大bs,模型不用选p6,你单卡训精度都不一定有常规p5模型开大bs训来的高 |
为了寻找报错的原因,所以将bs搞成了1。我用的是tt100k,它的图像是2048*2048的,道路标识又有点小,所以用了p6。我是coco数据集的,可以运行。依照提示修改了mosaic_prob后,用自己的数据集就会卡住。换成voc数据格式后,也会报那个错。 检查了数据集后,没有发现空标注,xmin、ymin、xmax、ymax的数据也合规。贴一个xml数据
|
方便发下tt100k数据集吗,或者可以使用别的ppyoloe+或rtdetr模型 |
问题确认 Search before asking
请提出你的问题 Please ask your question
配置文件修改:
因为报错,所以在358行代码中添加了打印
第一个batch有值,第二个batch就成了[],好纳闷
执行的命令:
有可能是我有遗漏,也许是本来就有bug。同样的数据集,换成
python tools/train.py -c configs/ppyoloe/ppyoloe_plus_crn_s_80e_coco.yml 就可以执行训练
The text was updated successfully, but these errors were encountered: