zzzxxxttt / pytorch_simple_CornerNet

A simple pytorch implementation of CornerNet
30 stars 2 forks source link

CUDA out of memory #9

Open dongluyang opened 2 years ago

dongluyang commented 2 years ago

File "C:\Users\panpa\anaconda3\lib\site-packages\torch\nn\functional.py", line 2438, in batch_norm return torch.batch_norm( RuntimeError: CUDA out of memory. Tried to allocate 768.00 MiB (GPU 0; 24.00 GiB total capacity; 22.52 GiB already allocated; 0 bytes free; 23.22 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

anybody has experience for resolving above problems