Skip to content

Commit

Permalink
Removes register_env arguments - ray_wrapper.py
Browse files Browse the repository at this point in the history
Also removes the previously removed init variables from `tune.register_env()`
  • Loading branch information
Ivan-267 committed May 9, 2024
1 parent 322b398 commit e7489ad
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions godot_rl/wrappers/ray_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,9 @@ def register_env():
tune.register_env(
"godot",
lambda c: RayVectorGodotEnv(
env_path=c["env_path"],
config=c,
port=c.worker_index + GodotEnv.DEFAULT_PORT + 10,
show_window=c["show_window"],
framerate=c["framerate"],
seed=c.worker_index + c["seed"],
action_repeat=c["framerate"],
speedup=c["speedup"],
),
)

Expand Down

0 comments on commit e7489ad

Please sign in to comment.