首页 炼丹房 帖子详情
这个error该怎么处理
收藏
快速回复
炼丹房 问答新手上路 1417 3
这个error该怎么处理
收藏
快速回复
炼丹房 问答新手上路 1417 3

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
收藏
回复
全部评论(3)
时间顺序
星光ld1
#2 回复于2020-02

export FLAGS_fraction_of_gpu_memory_to_use=xxx

这句一看就是终端的语法应该是在terminal设置环境变量

0
回复
星光ld1
#3 回复于2020-02

然后回归到问题本身,楼主是遇上OOM(Out Of Memory)了吗?如果是的话应该就需要降低batch_size如果认为batch_size降低对精度有影响可以在梯度下降过程中考虑采用累积梯度方法

0
回复
无限Mebius
#4 回复于2020-02
然后回归到问题本身,楼主是遇上OOM(Out Of Memory)了吗?如果是的话应该就需要降低batch_size如果认为batch_size降低对精度有影响可以在梯度下降过程中考虑采用累积梯度方法

好吧

0
回复
在@后输入用户全名并按空格结束,可艾特全站任一用户