Changed foreach_policy to foreach_trainable_policy (#6564)

Changed foreach_policy to foreach_trainable_policy in DQN when disabling exploration. This makes it consistent with the rest of the file
This commit is contained in:
Zhongxia Yan
2019-12-26 22:50:48 -05:00
committed by Eric Liang
parent 65297e65f0
commit 98689bd263
+1 -1
View File
@@ -275,7 +275,7 @@ def collect_metrics(trainer):
def disable_exploration(trainer):
trainer.evaluation_workers.local_worker().foreach_policy(
trainer.evaluation_workers.local_worker().foreach_trainable_policy(
lambda p, _: p.set_epsilon(0))