code-HFD / src /psi /data /lerobot /compat.py
Tinghong-Ye22's picture
Add files using upload-large-folder tool
06f9561 verified
Raw History Blame Contribute Delete
572 Bytes
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",
]