fluid 1.5.1 提交paddlecloud作业, PaddleCloudRoleMaker | UserDefinedRoleMaker失败

PaddleCloudRoleMaker() endpoints: 10.104.66.32:30000
Traceback (most recent call last):
File "frame/core/paddlecloud_cpu_trainer.py", line 142, in
ret = trainer.start(sys.argv)
File "/root/paddlejob/workspace/env_run/frame/core/base_trainer.py", line 367, in start
self.set_optimizer(FLAGS, net_output)
File "frame/core/paddlecloud_cpu_trainer.py", line 82, in set_optimizer
sgd_optimizer.minimize(net_output['loss'], fluid.default_startup_program())
File "/usr/local/lib/python2.7/site-packages/paddle/fluid/incubate/fleet/collective/init.py", line 125, in minimize
current_endpoint = fleet.worker_endpoints()[trainer_id]
IndexError: list index out of range
is it a CPU or GPU task? could you share your submit script?
CPU, 集群 。 能帮忙提供一下提交paddlecloud分布式任务的例子吗?最好提供一个1.5.1可用的,我找到一些都是基于开发版的,谢谢。
@gavin1332
改成UserDefinedRoleMaker会报另外一个错误


- 使用的是 transpiler模式还是pslib模式
- 可以基于develop进行测试和效果验证
@sshilei 请使用PaddleCloudRoleMaker,有问题到飞桨Fleet推广群提问,1481295
Since you haven't replied for more than a year, we have closed this issue/pr. If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. 由于您超过一年未回复,我们将关闭这个issue/pr。 若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。