Remove useless bboxes&labels in CocoDataset#159
Remove useless bboxes&labels in CocoDataset#159ShiquanYu wants to merge 2 commits intoRangiLyu:mainfrom
Conversation
fixed `TypeError classes<None>` in valid dataloader
|
以下是我对模型做了少量更改(为了部署)后得测试结果。 版本:commit 2021.2.22 修改内容:
测试结果: RGB: |
|
Pardon, but why would you want to remove all images without bounding boxes? Isn't it beneficial for the model to learn not to produce boxes for these images? Does it cause an issue somewhere later in the training loop? |
It will only delete images without bboxes in valid set, and will not affect train set. |
I was thinking of these added lines in |
不好意思,PR #158 测试不周,,,,valid set 返回 NoneType 时会在collate时引发类型错误,修复了下这个问题~