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

16gb of ram is not enough in CPU mode #3

Open
AidasK opened this issue Jun 7, 2018 · 0 comments
Open

16gb of ram is not enough in CPU mode #3

AidasK opened this issue Jun 7, 2018 · 0 comments

Comments

@AidasK
Copy link

AidasK commented Jun 7, 2018

$ python test_facelet_net.py test_image --input_path examples/input.png --effect younger --strength 5 -cpu

RuntimeError: $ Torch: not enough memory: you tried to allocate 2GB. Buy new RAM! at /pytorch/torch/lib/TH/THGeneral.c:253

Tried running this on machine with 16gm of ram and it was all used up, it might not be a bug, but is very likely to be.

p.s. pytorch/pytorch#5285 Might be an issue of pytorch and not of this library, but not sure

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

1 participant