mirror of
https://github.com/wassname/ray.git
synced 2026-07-04 22:12:41 +08:00
[rllib] A3C Configurations (#1370)
* initial introduction of a3c configs * fix sample batch * flake but need to check save * save,resotre * fix * pickles * entropy * fix * moving ppo * results * jenkins
This commit is contained in:
@@ -35,8 +35,7 @@ class AsyncOptimizer(Optimizer):
|
||||
# Note: can't use wait: https://github.com/ray-project/ray/issues/1128
|
||||
while gradient_queue:
|
||||
with self.wait_timer:
|
||||
fut, e = gradient_queue[0]
|
||||
gradient_queue = gradient_queue[1:]
|
||||
fut, e = gradient_queue.pop(0)
|
||||
gradient = ray.get(fut)
|
||||
|
||||
if gradient is not None:
|
||||
|
||||
Reference in New Issue
Block a user