-
Notifications
You must be signed in to change notification settings - Fork 140
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
Augmentation Issues #671
Comments
Update: I could not find a way to use any rotation, scale or shear. All these options lose information in the borders. In the affine function has a parameter to fit_output, but it causes issues in the height size. The translate_px option is not util here and also loses information. The alpha parameter in the ElasticTransform couldn't be higher than 10. After that, it causes large deformation. These are the settings that I use now:
|
SafeRotate is a good option: SafeRotate(limit=(-3,3), border_mode=cv2.BORDER_CONSTANT, p=0.2) |
I notticed the augmentation option didn't help to improve the results.
I inspected some augmented images and I noticed some options distort the image making them useless:
I'm still figure out which will be the best option for my dataset, but it's only possible change the class DefaultAugmenter(). Maybe would be interesting create a way to set these parameters dynamically.
Thank you
The text was updated successfully, but these errors were encountered: