[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
View File
@@ -121,6 +121,7 @@ class AsyncSampler(threading.Thread):
self.policy = policy
self._obs_filter = obs_filter
self.started = False
self.daemon = True
def run(self):
self.started = True