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

How to train with many references image without running out of memory? #39

Open
mfrashad opened this issue Jul 27, 2022 · 1 comment
Open

Comments

@mfrashad
Copy link

Currently, I keep getting CUDA run out of memory error if I use more than 4 reference image with 16GB GPU. Is there a way to train with more images? I'd like the model to be more general.

@mchong6
Copy link
Owner

mchong6 commented Jul 27, 2022

You could write a dataloader and load the images in batch size of 4.

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