Datasets:

Modalities:
Video
Languages:
English
ArXiv:
Libraries:
Datasets
License:

How to use community dataset to pretrain SmolVLA

#2
by AustineJohnBreaker - opened

I found 2 versions of community datasets. How to merge them together? In addition, after downloaded by

from huggingface_hub import snapshot_download
dataset_path = snapshot_download(
    repo_id="HuggingFaceVLA/community_dataset_v1",
    repo_type="dataset",
    local_dir="<path/to/my/molvla_pretrain_community_dataset>"
)

and execute

python src/lerobot/scripts/train.py \
  --policy.type=smolvla \
  --dataset.repo_id=HuggingFaceVLA/community_dataset_v1 \
  --dataset.root=<path/to/my/molvla_pretrain_community_dataset> \
.....

How to set dataset.repo_id and dataset.root ? It reports error:

   if not hub_versions:
        raise RevisionNotFoundError(
            f"""Your dataset must be tagged with a codebase version.
            Assuming _version_ is the codebase_version value in the info.json, you can run this:
            ```python
            from huggingface_hub import HfApi

            hub_api = HfApi()
            hub_api.create_tag("{repo_id}", tag="_version_", repo_type="dataset")
            ```
            """
        )

dataset: Missing required field(s) repo_id for DatasetConfig. This means repo_id parameter is needed

Sign up or log in to comment