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

TypeError: Value.__init__() missing 1 required positional argument: 'dtype' #7334

Open
kakamond opened this issue Dec 15, 2024 · 0 comments
Open

Comments

@kakamond
Copy link

Describe the bug

ds = load_dataset(
"./xxx.py",
name="default",
split="train",
)

The datasets does not support debugging locally anymore...

Steps to reproduce the bug

from datasets import load_dataset

ds = load_dataset(
    "./repo.py",
    name="default",
    split="train",
)

for item in ds:
    print(item)

It works fine for "username/repo", but it does not work for "./repo.py" when debugging locally...
Running above code template will report TypeError: Value.init() missing 1 required positional argument: 'dtype'

Expected behavior

fix this bug

Environment info

python 3.10 datasets==2.21

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