From fedfa60d6eaa52b2a6e4851e8a506ffa6ad26309 Mon Sep 17 00:00:00 2001 From: mshukor Date: Wed, 2 Apr 2025 17:33:13 +0200 Subject: [PATCH] Update lerobot/common/envs/utils.py Co-authored-by: Remi --- lerobot/common/envs/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lerobot/common/envs/utils.py b/lerobot/common/envs/utils.py index 870ab66d..c51e6090 100644 --- a/lerobot/common/envs/utils.py +++ b/lerobot/common/envs/utils.py @@ -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,