Improved zoom augmentations through albumentations. #735
Labels
API
This tag is used for small improvements to the readability and usability of the python API.
Docs
Documentation
Ideas for Machine Learning!
These are machine learning ideas and papers that could be useful for DeepForest models. High level.
One of the core challenges of machine learning for airborne biodiversity observation is trying to generalize across sensors and acquisition conditions. Given low data sizes, data augmentations are crucial for good generalization across resolutions, focal views and object size.
A quick search of albumentations suggests hits a few existing classes that should be useful:
https://huggingface.co/spaces/qubvel-hf/albumentations-demo?transform=Downscale
https://albumentations.ai/docs/api_reference/augmentations/crops/transforms/#albumentations.augmentations.crops.transforms.RandomSizedBBoxSafeCrop
https://huggingface.co/spaces/qubvel-hf/albumentations-demo?transform=RandomSizedBBoxSafeCrop
https://albumentations.ai/docs/api_reference/augmentations/geometric/transforms/#albumentations.augmentations.geometric.transforms.PadIfNeeded
Checklist
Implement augmentations in their own module, not within preprocessing. Currently lives inline
DeepForest/deepforest/dataset.py
Line 35 in 80cb7d8
Allow the user to choose the augmentations either through the config file. Careful to allow defaults to remain unchanged and sets reasonable defaults if not specified in existing config files.
Make a doc page showing example augmentations
Optional
The text was updated successfully, but these errors were encountered: