PaddleX
PaddleX copied to clipboard
Any Distributed train config in Paddlex cli
trafficstars
Checklist:
- [✔ ] 查找历史相关issue寻求解答
- [✔ ] 翻阅FAQ
- [ ✔] 翻阅PaddleX 文档
- [ ✔] 确认bug是否在新版本里还未修复
描述问题
how to pass distributed train config from paddlex cli which can transform config like https://www.paddlepaddle.org.cn/documentation/docs/en/api/paddle/distributed/launch_en.html
paddlex cli is convenient but I cannot find anywhere how to pass distributed config since only -o -p -c is supported. so how to by-pass args to dedicated module e.g
#input -o -c -p is config generate section other args is by-pass section
python main.py -m paddle.distributed.launch --master x.x.x.x --server_num=1 --trainer_num=1 --nnodes 1 -c config.yaml -o Global.mode=train -o Global.dataset_dir=/ ...
#generate
python -m paddle.distributed.launch --master x.x.x.x --server_num=1 --trainer_num=1 --nnodes 1 train.py -c temp/temp.yml
复现
-
您是否已经正常运行我们提供的教程?
-
您是否在教程的基础上修改代码内容?还请您提供运行的代码
-
您使用的数据集是?
-
请提供您出现的报错信息及相关log
环境
-
请提供您使用的PaddlePaddle和PaddleX的版本号
-
请提供您使用的操作系统信息,如Linux/Windows/MacOS
-
请问您使用的Python版本是?
-
请问您使用的CUDA/cuDNN的版本号是?