[rllib] Add n-step Q learning for DQN (#1439)

* n-step

* add sample adjustm

* Oops

* fix nstep

* metric adjustment

* Sat Jan 20 23:30:34 PST 2018

* Sun Jan 21 16:40:46 PST 2018

* Mon Jan 22 22:24:57 PST 2018
This commit is contained in:
Eric Liang
2018-01-23 10:31:19 -08:00
committed by GitHub
parent f32c0c8ec1
commit ee36effd8e
9 changed files with 77 additions and 9 deletions
+1 -1
View File
@@ -184,7 +184,7 @@ environment to be configured. The return type should be an `OpenAI gym.Env <http
def env_creator(env_config):
import gym
gym.make("CartPole-v0") # or return your own custom env
return gym.make("CartPole-v0") # or return your own custom env
env_creator_name = "custom_env"
register_env(env_creator_name, env_creator)