From da78bbfd162d5d603e093521033a85424ec37350 Mon Sep 17 00:00:00 2001 From: Simon Alibert Date: Tue, 15 Oct 2024 11:06:28 +0200 Subject: [PATCH] Update load_tasks doc --- lerobot/common/datasets/utils.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/lerobot/common/datasets/utils.py b/lerobot/common/datasets/utils.py index ae8fa001..fbf4dd5f 100644 --- a/lerobot/common/datasets/utils.py +++ b/lerobot/common/datasets/utils.py @@ -180,15 +180,7 @@ def load_info(repo_id: str, version: str, local_dir: Path) -> dict: def load_tasks(repo_id: str, version: str, local_dir: Path) -> dict: - """tasks contains all the tasks of the dataset, indexed by their task_index. - - Example: - ```json - { - "0": "Pick the Lego block and drop it in the box on the right." - } - ``` - """ + """tasks contains all the tasks of the dataset, indexed by their task_index.""" fpath = hf_hub_download( repo_id, filename="meta/tasks.json", local_dir=local_dir, repo_type="dataset", revision=version )