Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python script hangs when trainer_count > 1 and call trainer.train() more than once. #2534

Closed
juliecbd opened this issue Jun 20, 2017 · 7 comments · Fixed by #2595
Closed
Assignees

Comments

@juliecbd
Copy link

import paddle.v2 as paddle
paddle.init(use_gpu=False, trainer_count=2)

if we set trainer_count > 1, and call trainer.train() more than one time, then the program just hangs. If we set trainer_count=1, the script runs as expected. What could be the reason? Thanks

@juliecbd juliecbd changed the title python script hangs when trainer_count > 1 and call trainer.train() more than one times. python script hangs when trainer_count > 1 and call trainer.train() more than once. Jun 20, 2017
@lcy-seso
Copy link
Contributor

I have met the same bug #2565.

@jacquesqiao
Copy link
Member

just to confirm. is it hang when paddle.trian or paddle.infer? Because @lcy-seso meet a similar problem when calling paddle.infer multiple times

@juliecbd
Copy link
Author

juliecbd commented Jun 24, 2017 via email

@jacquesqiao
Copy link
Member

thx,can you paste or give a demo to reproduce the problem?

@juliecbd
Copy link
Author

juliecbd commented Jun 24, 2017 via email

@jacquesqiao
Copy link
Member

thanx, I reproduced this problem with your demo. It's very strange, I will have a look.

@juliecbd
Copy link
Author

juliecbd commented Jun 24, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants