zoukankan      html  css  js  c++  java
  • 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查看内存使用情况,果然快满了。

  • 相关阅读:
    ERROR: epmd error for host "yourhostname": timeout
    leetcode485
    leetcode463
    leetcode496
    leetcode344
    leetcode412
    leetcode500
    leetcode476
    leetcode557
    leetcode461
  • 原文地址:https://www.cnblogs.com/smartwhite/p/8954501.html
Copyright © 2011-2022 走看看