detectron2没有Gpu怎么进行训练,内存不足的问题
Posted miaozhijuan
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了detectron2没有Gpu怎么进行训练,内存不足的问题相关的知识,希望对你有一定的参考价值。
detectron2没有Gpu怎么进行训练,内存不足的问题
使用cpu的方式
内存不足的处理方式
not enough memory: you tried to allocate 173408256 bytes. Buy new RAM!
![enter description here 技术图片](https://raw.githubusercontent.com/miaozhijuan/xiaoshujiang/master/%E5%B0%8F%E4%B9%A6%E5%8C%A0/1584758434660.png)
enter description here
以上是关于detectron2没有Gpu怎么进行训练,内存不足的问题的主要内容,如果未能解决你的问题,请参考以下文章
你正在使用GPU进行CNN类模型训练,突然发生了内存溢出的错误,你可以通过哪些方式来进行解决?