-
Notifications
You must be signed in to change notification settings - Fork 355
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
Potential Memory Leak #278
Comments
Also I've checked, the memory usage increases linearly with iterations |
I have reproduced the same code on [Colab Notebook], it works fine for me. |
Thanks for your timely reply ! |
I am also getting a similar error. I installed learn2learn using "pip install learn2learn". When I try to run maml_miniimagenet.py (from learn2learn/examples/vision/maml_miniimagenet.py ) with a batch size of 2 and shot = 1, I get the same error after 63 iterations. When I change to shot = 5, I get the error after 3 iterations.
However, If I comment out the meta-validation loss part, (line 114-112 in this script) then I don't get the memory leak problem. I wonder how the issue can be solved? |
I'm running exactly examples/vision/anil_fc100.py with
and it crashes after 3 iterations, telling me cuda memory has run out
The text was updated successfully, but these errors were encountered: