我是靠谱客的博主 搞怪铃铛,这篇文章主要介绍ResourceExhaustedError (see above for traceback): OOM when allocating tensor with shape[4096],现在分享给大家,希望可以做个参考。

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


方案:

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]的全部内容,更多相关ResourceExhaustedError内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(125)

评论列表共有 0 条评论

立即
投稿
返回
顶部