From b2deaf9077feb53e93ade079e0f2e615ba84f417 Mon Sep 17 00:00:00 2001 From: ronamit Date: Wed, 29 Jul 2020 10:35:20 +0300 Subject: [PATCH] removing unnecessary changes #8 --- doc/source/_templates/.gitkeep | 0 rllib/agents/dqn/dqn.py | 6 ++---- 2 files changed, 2 insertions(+), 4 deletions(-) create mode 100644 doc/source/_templates/.gitkeep diff --git a/doc/source/_templates/.gitkeep b/doc/source/_templates/.gitkeep new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/rllib/agents/dqn/dqn.py b/rllib/agents/dqn/dqn.py index cc60e5592b18..476500bda1d7 100644 --- a/rllib/agents/dqn/dqn.py +++ b/rllib/agents/dqn/dqn.py @@ -327,16 +327,14 @@ def get_simple_policy_class(config): else: return SimpleQTFPolicy -# from rllib.agents.trainer import Trainer + GenericOffPolicyTrainer = build_trainer( name="GenericOffPolicyAlgorithm", default_policy=None, get_policy_class=get_policy_class, default_config=DEFAULT_CONFIG, validate_config=validate_config, - execution_plan=execution_plan, - # make_workers=Trainer._make_workers -) + execution_plan=execution_plan) DQNTrainer = GenericOffPolicyTrainer.with_updates( name="DQN", default_policy=DQNTFPolicy, default_config=DEFAULT_CONFIG)