chore(infer_depth_unit): moving the depth unit inference utility in a more accessible location

This commit is contained in:
CarolinePascal
2026-07-01 19:38:30 +02:00
parent afa189fc72
commit bb066435bf
5 changed files with 16 additions and 10 deletions
+1 -1
View File
@@ -26,8 +26,8 @@ import pytest
import torch
from datasets import Dataset
from lerobot.configs.video import infer_depth_unit
from lerobot.datasets.dataset_metadata import CODEBASE_VERSION, LeRobotDatasetMetadata
from lerobot.datasets.depth_utils import infer_depth_unit
from lerobot.datasets.feature_utils import get_hf_features_from_features
from lerobot.datasets.io_utils import flatten_dict, hf_transform_to_torch
from lerobot.datasets.lerobot_dataset import LeRobotDataset