首页 > 其他 > 详细

显存不够----ResourceExhaustedError (see above for traceback): OOM when allocating tensor with shape[4096]

时间:2018-02-08 11:55:47      阅读:3879      评论:0      收藏:0      [点我收藏+]

ResourceExhaustedError (see above for traceback): OOM when allocating tensor with shape[4096]

 

类似问题 https://github.com/CharlesShang/TFFRCNN/issues/68

参考:

 http://blog.csdn.net/qing101hua/article/details/77153222

方案:

 

take a look at the memory usage of your gpu with

nvidia-smi -l 3

  

if still free memory that can be used
-> edit lib/fast_rcnn/train.py
~line396 : config.gpu_options.per_process_gpu_memory_fraction = 0.40
edit 0.40 to larger propotion (e.g. 0.9)

显存不够----ResourceExhaustedError (see above for traceback): OOM when allocating tensor with shape[4096]

原文:https://www.cnblogs.com/leoking01/p/8430604.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!