pfrl icon indicating copy to clipboard operation
pfrl copied to clipboard

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

Open marioyc opened this issue 4 years ago • 2 comments

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

For reference: https://github.com/chainer/chainerrl/issues/572

marioyc avatar Jan 20 '21 03:01 marioyc

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

elbamos avatar Nov 14 '21 02:11 elbamos

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'

shreyassr123 avatar May 22 '24 06:05 shreyassr123