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

Batch and async training do not work with macOS/Windows and Python >= 3.8 #123

Open
marioyc opened this issue Jan 20, 2021 · 2 comments
Open
Assignees

Comments

@marioyc
Copy link
Contributor

marioyc commented Jan 20, 2021

In Python 3.8 the default mode of multiprocessing for macOS was changed

For reference: chainer/chainerrl#572

@marioyc marioyc self-assigned this Jan 20, 2021
@elbamos
Copy link

elbamos commented Nov 14, 2021

I was able to workaround this by calling mp.set_start_method('fork') before main() in the example scripts.

@shreyassr123
Copy link

shreyassr123 commented May 22, 2024

I am not able to run train_dqn_batch_ale.py. Further, mp.set_start_method('fork') is also not working for me. I am getting the following error :
AttributeError: Can't pickle local object 'main..make_env'

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

3 participants