File size: 572 Bytes
6597efe | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | from __future__ import annotations
try:
from lerobot.common.datasets.lerobot_dataset import ( # type: ignore
LeRobotDataset,
LeRobotDatasetMetadata,
MultiLeRobotDataset,
)
LEROBOT_LAYOUT = "common"
except ModuleNotFoundError:
from lerobot.datasets.lerobot_dataset import ( # type: ignore
LeRobotDataset,
LeRobotDatasetMetadata,
MultiLeRobotDataset,
)
LEROBOT_LAYOUT = "datasets"
__all__ = [
"LEROBOT_LAYOUT",
"LeRobotDataset",
"LeRobotDatasetMetadata",
"MultiLeRobotDataset",
]
|