Open Devin19910617 opened 5 years ago
Same thing happens when I try to insert an image of 4096*2304, of size 1.3MB. For some reason it tries to allocate 2.25GiB...
RuntimeError: CUDA out of memory. Tried to allocate 2.25 GiB (GPU 0; 6.00 GiB total capacity; 2.54 GiB already allocated; 1.97 GiB free; 2.57 GiB reserved in total by PyTorch)
I use this model to auto count object total number,when image is 4000x4000,train will get error 'out of memory',I don't want to downscale image size,What should I do?