diff --git a/godot_rl/core/godot_env.py b/godot_rl/core/godot_env.py index 9f0d1c83..c5bc4ac7 100644 --- a/godot_rl/core/godot_env.py +++ b/godot_rl/core/godot_env.py @@ -17,7 +17,7 @@ class GodotEnv: MAJOR_VERSION = "0" # Versioning for the environment - MINOR_VERSION = "4" + MINOR_VERSION = "7" DEFAULT_PORT = 11008 # Default port for communication with Godot Game DEFAULT_TIMEOUT = 60 # Default socket timeout TODO diff --git a/godot_rl/wrappers/ray_wrapper.py b/godot_rl/wrappers/ray_wrapper.py index d1fc68a1..f1c875f2 100644 --- a/godot_rl/wrappers/ray_wrapper.py +++ b/godot_rl/wrappers/ray_wrapper.py @@ -181,9 +181,9 @@ def rllib_training(args, extras): checkpoint_at_end=not args.eval, restore=args.restore, local_dir=os.path.abspath(args.experiment_dir) or os.path.abspath("logs/rllib"), - trial_name_creator=lambda trial: f"{args.experiment_name}" - if args.experiment_name - else f"{trial.trainable_name}_{trial.trial_id}", + trial_name_creator=lambda trial: ( + f"{args.experiment_name}" if args.experiment_name else f"{trial.trainable_name}_{trial.trial_id}" + ), ) if args.export: raise NotImplementedError("Exporting is not (re)implemented yet") diff --git a/pyproject.toml b/pyproject.toml index 34255d07..8330cf30 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["setuptools>=61.0"] build-backend = "setuptools.build_meta" [project] name = "godot_rl" -version = "0.6.2" +version = "0.7.0" authors = [ { name="Edward Beeching", email="edbeeching@gmail.com" }, ] diff --git a/tests/benchmark_env.py b/tests/benchmark_env.py index d5cc4f6a..b85a44f9 100644 --- a/tests/benchmark_env.py +++ b/tests/benchmark_env.py @@ -4,7 +4,6 @@ we perform 10,000 actions and calculate the interactions per second in a variety of configurations """ - import time from godot_rl.core.godot_env import GodotEnv