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

enumerate DataLoader is too slow. #20

Open
leeejeonghwa opened this issue Dec 28, 2022 · 2 comments
Open

enumerate DataLoader is too slow. #20

leeejeonghwa opened this issue Dec 28, 2022 · 2 comments

Comments

@leeejeonghwa
Copy link

for i, data in enumerate(trainloader, 0) #181
This code is stopped without turning around. I think it's going on an infinite loop, can you solve it?

@somepago
Copy link
Owner

Hi, this is just data loading step (very typical in pytorch). You could test your trainloader. Can you print "i" and see if the code is even running?

@leeejeonghwa
Copy link
Author

leeejeonghwa commented Dec 29, 2022

problem
Is this the right way to do it? I don't think it's progressing after print(trainloader).

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