From ddce4a56c85ebc7d8a07711231822eefaaa1d6ee Mon Sep 17 00:00:00 2001 From: Mark Towers Date: Wed, 13 Jul 2022 20:52:43 +0100 Subject: [PATCH] Bump Car racing and Remove Car Racing Discrete (#2963) * Allows a new RNG to be generated with seed=-1 and updated env_checker to fix bug if environment doesn't use np_random in reset * Revert "fixed `gym.vector.make` where the checker was being applied in the opposite case than was intended to (#2871)" This reverts commit 519dfd9117e98e4f52d38064d2b0f79974fb676d. * Remove bad pushed commits * Fixed spelling in core.py * Pins pytest to the last py 3.6 version * Allow Box automatic scalar shape * Add test box and change default from () to (1,) * update Box shape inference with more strict checking * Update the box shape and add check on the custom Box shape * Removed incorrect shape type and assert shape code * Update the Box and associated tests * Move dependency error to inside the atari environment * Update the gym version to v0.25.0 * Bump car racing and remove car racing discrete --- gym/envs/__init__.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/gym/envs/__init__.py b/gym/envs/__init__.py index a798b770a36..cf728102769 100644 --- a/gym/envs/__init__.py +++ b/gym/envs/__init__.py @@ -83,20 +83,12 @@ ) register( - id="CarRacing-v1", + id="CarRacing-v2", entry_point="gym.envs.box2d.car_racing:CarRacing", max_episode_steps=1000, reward_threshold=900, ) -register( - id="CarRacingDiscrete-v1", - entry_point="gym.envs.box2d.car_racing:CarRacing", - kwargs={"continuous": False}, - max_episode_steps=1000, - reward_threshold=900, -) - # Toy Text # ----------------------------------------