Skip to content

Commit

Permalink
removing unnecessary changes ray-project#8
Browse files Browse the repository at this point in the history
  • Loading branch information
ron-amit committed Jul 29, 2020
1 parent 8920dc9 commit b2deaf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Empty file added doc/source/_templates/.gitkeep
Empty file.
6 changes: 2 additions & 4 deletions rllib/agents/dqn/dqn.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b2deaf9

Please sign in to comment.