-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
"One or several metadata. were found, but not in the same directory or in a parent directory" #5193
Comments
Also unrelated but still: https://huggingface.co/docs/datasets/image_dataset#generate-the-dataset |
And here is my data loader script: https://huggingface.co/datasets/corentinm7/MyoQuant-SDH-Data/blob/main/SDH_16k.py |
Hi @lambda-science! It seems that your repo is recognized as a packaged module ImageFolder, not as a dataset with the custom loading script, because loader looks for a script that has the same name as the dataset repo. So please try to rename your script to |
Hi ! Thank you for your answer. That was... embarrassingly easy, sorry for this issue, everything is fixed now ! Have a nice day ! :) |
@lambda-science that's not embarrassing at all! it's actually not clear from the documentation that the script should have the same name, so thank you for the issue, we'll add this information to the docs :) |
Describe the bug
When loading my own dataset, on loading it I get an error.
Here is my dataset link: https://huggingface.co/datasets/corentinm7/MyoQuant-SDH-Data
And the error after loading with:
However the test command is working fine.
datasets-cli test hugging_face_play/ds_test/SDH_16k.py --save_info --all_configs --force_redownload
Steps to reproduce the bug
Simply run on python
Expected behavior
As the test command worked, this error should not appear
Environment info
datasets
version: 2.6.1The text was updated successfully, but these errors were encountered: