fix: Rename sync_cache_first to force_cache_sync in LeRobotDataset docstring (#1310)

This commit is contained in:
HUANG TZU-CHUN
2025-07-25 21:08:00 +08:00
committed by GitHub
parent d4f962fb34
commit b2a71c6fe4

View File

@@ -433,7 +433,7 @@ class LeRobotDataset(torch.utils.data.Dataset):
multiples of 1/fps. Defaults to 1e-4.
revision (str, optional): An optional Git revision id which can be a branch name, a tag, or a
commit hash. Defaults to current codebase version tag.
sync_cache_first (bool, optional): Flag to sync and refresh local files first. If True and files
force_cache_sync (bool, optional): Flag to sync and refresh local files first. If True and files
are already present in the local cache, this will be faster. However, files loaded might not
be in sync with the version on the hub, especially if you specified 'revision'. Defaults to
False.