Skip to content

Commit

Permalink
Added example files.
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Zehnder <[email protected]>
  • Loading branch information
simonsays1980 committed May 17, 2024
1 parent d9ab6bd commit 7599ae2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions rllib/tuned_examples/dqn/multi_agent_cartpole_dqn.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
# and (if needed) use their values toset up `config` below.
args = parser.parse_args()

register_env(
"multi_agent_cartpole", lambda _: MultiAgentCartPole({"num_agents": 2})
)
register_env("multi_agent_cartpole", lambda _: MultiAgentCartPole({"num_agents": 2}))

config = (
DQNConfig()
Expand Down
1 change: 0 additions & 1 deletion rllib/tuned_examples/sac/multi_agent_pendulum_sac.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
)



stop = {
NUM_ENV_STEPS_SAMPLED_LIFETIME: 500000,
# `episode_return_mean` is the sum of all agents/policies' returns.
Expand Down

0 comments on commit 7599ae2

Please sign in to comment.