Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support LeRobot datasets? #2775

Open
severo opened this issue May 6, 2024 · 1 comment
Open

Support LeRobot datasets? #2775

severo opened this issue May 6, 2024 · 1 comment
Labels
dependencies Pull requests that update a dependency file feature request Request for a new feature P2 Nice to have question Further information is requested

Comments

@severo
Copy link
Collaborator

severo commented May 6, 2024

Currently:

Error code:   ConfigNamesError
Exception:    ValueError
Message:      Feature type 'VideoFrame' not found. Available feature types: ['Value', 'ClassLabel', 'Translation', 'TranslationVariableLanguages', 'Sequence', 'Array2D', 'Array3D', 'Array4D', 'Array5D', 'Audio', 'Image']

eg on https://huggingface.co/datasets/lerobot/aloha_static_towel

Requires datasets to support VideoFrame

@severo severo added feature request Request for a new feature dependencies Pull requests that update a dependency file P2 Nice to have question Further information is requested labels May 6, 2024
@severo
Copy link
Collaborator Author

severo commented May 6, 2024

Already mentioned in the code:

@dataclass
class VideoFrame:
    # TODO(rcadene, lhoestq): move to Hugging Face `datasets` repo
    """
    Provides a type for a dataset containing video frames.

https://github.com/huggingface/lerobot/blob/a8e245fb31c0cba9d83cb687625251e31071dccf/lerobot/common/datasets/video_utils.py#L160

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file feature request Request for a new feature P2 Nice to have question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant