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

Image augmentation for training #314

Open
dongyun-kim-arch opened this issue Nov 2, 2022 · 2 comments
Open

Image augmentation for training #314

dongyun-kim-arch opened this issue Nov 2, 2022 · 2 comments

Comments

@dongyun-kim-arch
Copy link

I would like to know how to augment my training data in data-loader.
I am trying to img2img translation but due to the limitation of dataset, augmentations such as random crop, zoom in and out, etc. are necessary. I am familiar with augmentation using Compose method, but I couldn’t figure out where I should write code. It would be great if someone could show simple augmentation example as well. :)

@danieltanhx
Copy link

try to modify the Dataset class just like in the link->https://github.com/Hramchenko/simplified_pix2pixHD/blob/main/simplified_pix2pixHD.ipynb

@zhangxiaojuan66
Copy link

zhangxiaojuan66 commented Jun 22, 2023 via email

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

3 participants