48.00专题

Python报错:RuntimeError: CUDA out of memory. Tried to allocate 48.00 MiB

Python报错:RuntimeError: CUDA out of memory. Tried to allocate 48.00 MiB (GPU 0; 6.00 GiB total capacity; 4.44 GiB already allocated; 0 bytes free; 4.49 GiB reserved in total by PyTorch) 可以修改batch_size