-
Notifications
You must be signed in to change notification settings - Fork 446
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
Turn on/off classification augmentations #4039
Turn on/off classification augmentations #4039
Conversation
2aff5bb
to
7d7ab19
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
7d7ab19
to
33485ce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we discuss common list of augmentations? Do we have a requirement about the amount of augmentations to provide for Geti?
- class_path: otx.core.data.transform_libs.torchvision.PhotoMetricDistortion | ||
enable: false | ||
- class_path: otx.core.data.transform_libs.torchvision.RandomAffine | ||
enable: false | ||
- class_path: otx.core.data.transform_libs.torchvision.RandomFlip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need to keep both RandomFlip (horizontal) and RandomVerticalFlip? I think horizontal flip is more common. Will these augmentations also be used for other tasks?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- class_path: torchvision.transforms.v2.GaussianBlur | ||
enable: false | ||
init_args: | ||
kernel_size: 5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feature for now will not have possibility to change parameters, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, right. But in this phase, it's a bit limited due to the UX.
Let's review the augmentation list after we have some working model. Currently, next series of PRs might have no impact for OTX as they will be turned on/off by default according to the current settings. |
Summary
How to test
pytest -vs tests/integration/api/test_augmentation.py
Checklist
License
Feel free to contact the maintainers if that's a concern.