-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
How to approach TTA with albumentations? #136
Comments
It is not supported out of the box, but you may use a simple trick to fix random seed before applying augmentation at test time:
|
you can use |
@sakvaua Hi, albumentations does not support this by design. However this is popular task, so I take a chance and pr my library with handy PyTorch extensions including TTA: https://github.com/BloodAxe/pytorch-toolbelt/blob/develop/pytorch_toolbelt/inference/tta.py |
Hi.
Is there a recommended approach to do test time augmentation? I would like to pick several random augmentations and apply them to test and validation sets for later stacking. I'm not sure how to proceed. How do I make sure that one set of augmentations is applied to the whole test set and then to validation set and not random augmentations to every image?
Thanks.
The text was updated successfully, but these errors were encountered: