microsoft / aerial_wildlife_detection

Tools for detecting wildlife in aerial images using active learning
MIT License
230 stars 58 forks source link

Update export_YOLO_dataset.py with Golden Q flag #52

Closed MattSkiff closed 3 years ago

MattSkiff commented 3 years ago

I edited this script to exclude golden questions, as I have many of these that I have viewed parked to annotate later. Hence, I don't want them included in an export of null annotations, as these will introduce false negatives into the training set.

Setting the new exclude_golden parameter to 1 will exclude annotations marked as Golden Questions from being exported.

I used the same code style that is used to include Golden Question images from training (in modules/AIController/backend/functional.py.)

ghost commented 3 years ago

CLA assistant check
All CLA requirements met.

bkellenb commented 3 years ago

Great, thank you!