easy_detection icon indicating copy to clipboard operation
easy_detection copied to clipboard

RuntimeError: CUDA out of memory. Tried to allocate 970.00 MiB (GPU 0; 7.79 GiB total capacity; 4.39 GiB already allocated; 57.06 MiB free; 5.63 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

Open bling-bling-only opened this issue 3 years ago • 0 comments

请问有什么可以避免显卡爆显存的问题,batch size默认为1,然后图片切割尺寸也调小过,在--scale 2000的情况下只能训练20个epoch,且无法验证

bling-bling-only avatar May 19 '22 02:05 bling-bling-only