Mask RCNN Resource exhausted (OOM) on my own dataset

倖福魔咒の 提交于 2019-12-02 11:21:13

Tensorflow by default allocates all GPU memory. So if you only see 700 MB allocated in nvidia-smi then you have most likely set some option in Tensorflow to limit GPU memory such as:

config.gpu_options.allow_growth = True

or

config.gpu_options.per_process_gpu_memory_fraction = 0.4

Remove this options and try again. See also: https://www.tensorflow.org/guide/using_gpu

After replacing cudnn 7.2.1 with 7.0.5, I am now able to train Mask-RCNN using 1080ti gpu without a resource exhausted (OOM) issue.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!