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

CUDA out of memory #11

Open
Mr-Second opened this issue Oct 6, 2022 · 0 comments
Open

CUDA out of memory #11

Mr-Second opened this issue Oct 6, 2022 · 0 comments

Comments

@Mr-Second
Copy link

RuntimeError: CUDA out of memory. Tried to allocate 7.74 GiB (GPU 0; 23.69 GiB total capacity; 18.60 GiB already allocated; 2.78 GiB free; 19.05 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
Thanks very much from your work, and I need some assistance to train my own dataset, I change dimension 50 to 3 in convert_label function, but when starting training, it still reports CUDA out of memory error, I don't kown how to fix it

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