RuntimeError: CUDA out of memory. 错误日志

运行代码时出现的错误如下: RuntimeError: CUDA out of memory. Tried to allocate 2.00 MiB (GPU 0; 4.00 GiB total capacity; 2.91 GiB already allocated; 166.40 KiB free; 2.93 GiB reserved in total by PyTorch) 看了一下自己的G
相关文章
相关标签/搜索