这个error该怎么处理
收藏
Please check whether there is any other process using GPU 0.
1. If yes, please stop them, or start PaddlePaddle on another GPU.
2. If no, please try one of the following suggestions:
1) Decrease the batch size of your model.
2) FLAGS_fraction_of_gpu_memory_to_use is 0.50 now, please set it to a higher value but less than 1.0.
The command is `export FLAGS_fraction_of_gpu_memory_to_use=xxx`.
一定要减少 batchsize嘛?
方法2-2)的export FLAGS_fraction_of_gpu_memory_to_use=xxx 这句代码要加在哪里
0
收藏
请登录后评论
export FLAGS_fraction_of_gpu_memory_to_use=xxx
这句一看就是终端的语法应该是在terminal设置环境变量
然后回归到问题本身,楼主是遇上OOM(Out Of Memory)了吗?如果是的话应该就需要降低batch_size如果认为batch_size降低对精度有影响可以在梯度下降过程中考虑采用累积梯度方法
好吧