remove objects with iscrowd=True in Objects365 #11788
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤖 Generated by Copilot at ff08404
Summary
🚫📈🎯
Filter out crowd annotations from Objects365 dataset. This improves label quality and model performance for object detection with
coco.getAnnIds(iscrowd=False)
indata/Objects365.yaml
.Walkthrough
[link](https://github.com/ultralytics/yolov5/pull/11788/files?diff=unified&w=0#diff-a54e9eb40255f0afce61a0d2d0b7c39d90296c11a3bb30c17241dc339fc31742L431-R431)
). This improves the label quality for object detection models and avoids counting crowd regions as false positives.according to coco.py in pycocotools:
here we should set iscrowd=False to remove the crowd annotations as stated in
#3392 (comment)
🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
Improved annotation filtering in Objects365 dataset configuration.
📊 Key Changes
iscrowd
fromNone
toFalse
ingetAnnIds
function call within Objects365 dataset YAML file.🎯 Purpose & Impact