釋放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
相關文章
相關標籤/搜索