[rllib] Fix DQN checkpoint/restore and enable test in jenkins (#1063)

* fix dqn restore and add test

* Update .gitignore

* Update test_checkpoint_restore.py

* add checkpoint restore
This commit is contained in:
Eric Liang
2017-10-03 23:17:54 -07:00
committed by Richard Liaw
parent a0d3fb1de1
commit 6ecc899cf2
4 changed files with 17 additions and 8 deletions
@@ -111,3 +111,6 @@ docker run --shm-size=10G --memory=10G $DOCKER_SHA \
--alg PPO \
--num-iterations 2 \
--config '{"kl_coeff": 1.0, "num_sgd_iter": 10, "sgd_stepsize": 1e-4, "sgd_batchsize": 64, "timesteps_per_batch": 2000, "num_workers": 1, "model": {"dim": 40, "conv_filters": [[16, [8, 8], 4], [32, [4, 4], 2], [512, [5, 5], 1]]}, "extra_frameskip": 4}'
docker run --shm-size=10G --memory=10G $DOCKER_SHA \
python /ray/python/ray/rllib/test/test_checkpoint_restore.py