Resource exhausted: OOM when allocating tensor with shape[3,3,384,384] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0。。。。。

报错信息:

 OP_REQUIRES failed at assign_op.h:111 : Resource exhausted: OOM when allocating tensor with shape[3,3,384,384] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc

大概意思是资源耗尽,无法在分配tensor了。

因为我之前有跑其他程序,然后使用ctrl+z中断的,估计进程没有直接杀死,还在后台运行。

使用$ nvidia-smi查看内存使用情况,果然快满了。

 

 

posted @ 2018-04-26 19:08  在下小白  阅读(5780)  评论(1编辑  收藏  举报