diff --git a/src/lerobot/datasets/compute_stats.py b/src/lerobot/datasets/compute_stats.py index 133c59f0e..37b32fc3d 100644 --- a/src/lerobot/datasets/compute_stats.py +++ b/src/lerobot/datasets/compute_stats.py @@ -519,9 +519,10 @@ def compute_episode_stats( if features[key]["dtype"] in {"string", "language"}: continue + # Features with zero-width shapes are skipped (no data to compute stats on) if any(d == 0 for d in features[key].get("shape", ())): - logging.warning( - f"Skipping stats for feature '{key}' with a zero-width shape {features[key]['shape']}." + logging.debug( + f"Skipping statistics computation for feature '{key}' with a zero-width shape {features[key]['shape']}." ) continue