mirror of
https://github.com/wassname/ray.git
synced 2026-08-16 11:27:09 +08:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user