Closed muupan closed 6 years ago
This happened in OS X 10.11.6 with python 3.5.1 but did not happen in Ubuntu 14.04 with python 3.5.2.
In the same OS X machine, using pyenv, 3.6.1
crashed but anaconda3-4.4.0
didn't. Both use python 3.6.1.
This seems due to Accelerate not working correctly with multiprocessing. https://github.com/ContinuumIO/anaconda-issues/issues/133
Chainer discourages using Accelerate, so use a differerent backend for numpy.
When you modify
examples/gym/train_a3c_gym.py
like this, the program will silently crash after creating subprocesses. This is the case even when you callreset_state
.https://github.com/muupan/chainerrl/commit/c14d5fd88734fa8f1fd0de1d380b1cec5a586f72
Evaluating a model before training makes sense if you use placeholders to define the model, so this behavior should be fixed.