remove warning for real worl exps

This commit is contained in:
Remi Cadene 2024-05-31 10:37:10 +00:00
parent 8366648a8a
commit fa7ebc2d2d
1 changed files with 5 additions and 1 deletions

View File

@ -55,7 +55,11 @@ def make_dataset(cfg, split: str = "train") -> LeRobotDataset | MultiLeRobotData
"strings to load multiple datasets."
)
if isinstance(cfg.dataset_repo_id, str) and cfg.env.name not in cfg.dataset_repo_id:
if (
cfg.env.name != "dora"
and isinstance(cfg.dataset_repo_id, str)
and cfg.env.name not in cfg.dataset_repo_id
):
logging.warning(
f"There might be a mismatch between your training dataset ({cfg.dataset_repo_id=}) and your "
f"environment ({cfg.env.name=})."