RuntimeError: CUDA out of memory. Tried to allocate 2.00 GiB (GPU 0; 23.65 GiB total capacity; 15.63 GiB already allocated; 1.34 GiB free; 16.18 GiB reserved in total by PyTorch)
一文解决 RuntimeError: CUDA out of memory. 全网最全_runtimeerror: cuda error…
paris会遍历所有key
local test {[1] "hello",[3] "hi",["testname"] "name",[4] "45",[5] 123
}for k, v in pairs(test) doprint("k" .. k .. ", v" .. v)
end输出结果如下:
k1, …