PaddleDetection icon indicating copy to clipboard operation
PaddleDetection copied to clipboard

多卡训练失败[Other General Issues]

Open xinliyangguang opened this issue 4 years ago • 4 comments

多卡训练设置失败,显示只用了一张卡: image

训练开始脚本如下: export CUDA_VISIBLE_DEVICES=0,1,2,3 python3 -m paddle.distributed.launch --log_dir=./ppyolo_dygraph/ --gpus 0,1,2,3 /root/paddlejob/workspace/env_run/zhaoxin34/baidu/personal-code/icoding/PaddleDetection-release-2.0/configs/ppyolo/ppyolo_r50vd_dcn_1x_coco.yml

多卡环境信息如下: image

xinliyangguang avatar Jan 11 '22 12:01 xinliyangguang

请给出详细的运行命令以及报错信息

ghostxsl avatar Jan 11 '22 13:01 ghostxsl

请给出详细的运行命令以及报错信息

您好,运行脚本就是 export CUDA_VISIBLE_DEVICES=0,1,2,3 python3 -m paddle.distributed.launch --log_dir=./ppyolo_dygraph/ --gpus 0,1,2,3 /root/paddlejob/workspace/env_run/zhaoxin34/baidu/personal-code/icoding/PaddleDetection-release-2.0/configs/ppyolo/ppyolo_r50vd_dcn_1x_coco.yml

运行的时候就是watch查看显卡的利用率就是只用了一张卡

xinliyangguang avatar Jan 12 '22 09:01 xinliyangguang

是报错停止了吗?还是说可以正常运行?如果报错了,请问错误是什么?如果没报错,可以正常运行,但是只有一块卡在跑的话,建议您确认一下您的paddle版本

ghostxsl avatar Jan 12 '22 09:01 ghostxsl

Since this issue has not been updated for more than three months, it will be closed, if it is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. It is recommended to pull and try the latest code first. 由于该问题超过三个月未更新,将会被关闭,若问题未解决或有后续问题,请随时重新打开(建议先拉取最新代码进行尝试),我们会继续跟进。

paddle-bot-old avatar Apr 19 '22 07:04 paddle-bot-old