ResourceExhaustedError (see above for traceback): OOM when allocating tensor of shape [9216,4096] an

ResourceExhaustedError (see above for traceback): OOM when allocating tensor of shape [9216,4096] an_第1张图片

ResourceExhaustedError (see above for traceback): OOM when allocating tensor of shape [9216,4096] and type floa
     [[Node: training/Modified_SGD/zeros_8 = Const[dtype=DT_FLOAT, value=Tensor

显存不足:查看显卡的使用情况

watch nvidia-smi

ResourceExhaustedError (see above for traceback): OOM when allocating tensor of shape [9216,4096] an_第2张图片

kill 2194

2194 是本机现在占用显卡程序的id

再次运行程序

问题解决

你可能感兴趣的:(人工智能,常见问题)