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

ValueError: too many values to unpack (expected 2) #4

Open
ningkp opened this issue Apr 23, 2023 · 1 comment
Open

ValueError: too many values to unpack (expected 2) #4

ningkp opened this issue Apr 23, 2023 · 1 comment

Comments

@ningkp
Copy link
Owner

ningkp commented Apr 23, 2023

If you meet this error, you can solve it as follows.
First, find your source code of torch.util.data.Dataloader,
image

Then, modified the "dataloader.py" as follows,
image

@xuehuachunsheng
Copy link

It works!

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

2 participants