Update lerobot/common/envs/utils.py

Co-authored-by: Remi <re.cadene@gmail.com>
This commit is contained in:
mshukor 2025-04-02 17:33:13 +02:00 committed by GitHub
parent ea364a96db
commit fedfa60d6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ def check_env_attributes_and_types(env: gym.vector.VectorEnv) -> None:
UserWarning,
stacklevel=2,
)
if not check_all_envs_same_type(env):
if not are_all_envs_same_type(env):
warnings.warn(
"The environments have different types. Make sure you infer the right task from each environment. Empty task will be passed instead.",
UserWarning,