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

Out of memory #6

Open
TREASUREPPY opened this issue May 12, 2020 · 3 comments
Open

Out of memory #6

TREASUREPPY opened this issue May 12, 2020 · 3 comments

Comments

@TREASUREPPY
Copy link

Hello, the following problems occurred during the training. May I ask what caused them and what are the solutions?I'm using cuda10.1,python3.6.10.Waiting for your reply online.Thank you.
RuntimeError: cuda runtime error (2) : out of memory at /pytorch/torch/lib/THC/generic/THCStorage.cu:58

@XiaohangZhan
Copy link
Owner

Try to reduce the batch size.

@TREASUREPPY
Copy link
Author

TREASUREPPY commented May 12, 2020 via email

@Linsongrong
Copy link

@XiaohangZhan hello,I also encountered the same problem, the problem of reducing batchsize to 1 still exists.

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