Skip to content
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

Pass data augmentation hyperparameters as arguments #162

Closed
koushik-n opened this issue Oct 12, 2021 · 4 comments
Closed

Pass data augmentation hyperparameters as arguments #162

koushik-n opened this issue Oct 12, 2021 · 4 comments

Comments

@koushik-n
Copy link

koushik-n commented Oct 12, 2021

Is it possible to add these augmentation hyperparameters ( color_jitter_prob: float = 0.8, gray_scale_prob: float = 0.8, horizontal_flip_prob: float = 0.5) as arguments that can be passed to code similar to other parameters (gaussian_prob and solarization_prob)?

@vturrisi
Copy link
Owner

Hey!
This was actually supposed to be the case in our last commit, but seems like we missed this. I'll add it soon enough and also fix the default value for gray_scale_prob.

@koushik-n
Copy link
Author

koushik-n commented Oct 12, 2021

Thanks!. Also, please modify the bash file example for the custom data with these new arguments if possible!

@vturrisi
Copy link
Owner

This PR will probably address what you mentioned #164

@vturrisi
Copy link
Owner

Just merged the fixes. Should be fine now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants