释放GPU显存

问题:在使用GPU训练网络时,出现RuntimeError: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 11.17 GiB total capacity; 134.77 MiB already allocated; 8.56 MiB free; 3.23 MiB cached),自己明明11G的显存,为啥还给占满了。 1 .nv
相关文章
相关标签/搜索