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

Stuck in 'p.join()' #74

Open
RickWangww opened this issue Oct 10, 2020 · 1 comment
Open

Stuck in 'p.join()' #74

RickWangww opened this issue Oct 10, 2020 · 1 comment

Comments

@RickWangww
Copy link

Program stuck in p.join()(77 line, in 'main.py'). More specifically, it will stuck when use 'model' in 'test.py' and 'train.py', such as 'model.load_state_dict(shared_model.state_dict())'( line 35, in 'test.py').
Actually, I tried to run the test process and train processes separately instead of using multiprocessing and it worked. But, obviously, the multiprocessing is a better choice. Has anyone encountered and solved this problem?

@hudsontek
Copy link

hudsontek commented Jan 6, 2021

I came across the same issue. I guess you are also using Linux? Seems to be an inherent bug of pytorch. I have already filed a report(see here). Hope they can get it fixed soon.

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

No branches or pull requests

2 participants