Control f chaneg of gym to gymnasium

This commit is contained in:
pseudo-rnd-thoughts
2022-09-08 10:58:14 +01:00
parent 2526810e85
commit 29b1316bc3
10 changed files with 22 additions and 22 deletions

View File

@@ -125,9 +125,9 @@ class AsyncVectorEnv(VectorEnv):
except CustomSpaceError:
raise ValueError(
"Using `shared_memory=True` in `AsyncVectorEnv` "
"is incompatible with non-standard Gym observation spaces "
"is incompatible with non-standard Gymnasium observation spaces "
"(i.e. custom spaces inheriting from `gymnasium.Space`), and is "
"only compatible with default Gym spaces (e.g. `Box`, "
"only compatible with default Gymnasium spaces (e.g. `Box`, "
"`Tuple`, `Dict`) for batching. Set `shared_memory=False` "
"if you use custom observation spaces."
)