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

FileNotFoundError: Couldn't find a dataset script at /home/BrushNet/webdataset/webdataset.py or any data file in the same directory. Couldn't find 'webdataset' on the Hugging Face Hub either: FileNotFoundError: Dataset 'webdataset' doesn't exist on the Hub #42

Open
Tramac opened this issue Jun 3, 2024 · 0 comments

Comments

@Tramac
Copy link

Tramac commented Jun 3, 2024

import os
from datasets import load_dataset

train_data_dir = "./data/BrushData"

train_dataset = load_dataset(
    "webdataset",
    data_files={"train": os.path.join(train_data_dir,"*.tar")},
    split="train",
    streaming=True
)

The data structure is:

|-- data
    |-- BrushData
        |-- 00200.tar
        |-- 00201.tar
        |-- ...

There will be the following error:

FileNotFoundError: Couldn't find a dataset script at /home/BrushNet/webdataset/webdataset.py or any data file in the same directory. Couldn't find 'webdataset' on the Hugging Face Hub either: FileNotFoundError: Dataset 'webdataset' doesn't exist on the Hub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant