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

Why not shuffling training dataset #52

Open
CharlesGong12 opened this issue Jul 11, 2024 · 2 comments
Open

Why not shuffling training dataset #52

CharlesGong12 opened this issue Jul 11, 2024 · 2 comments

Comments

@CharlesGong12
Copy link

Hi, such an excellect work!
I am reading your code and find you don't use shuffle when training here. I remember that not using shuffle will damage the convergence effect, from my lessons. Could you explain it?
Great Thanks!

@xduzhangjiayu
Copy link

Hi, such an excellect work! I am reading your code and find you don't use shuffle when training here. I remember that not using shuffle will damage the convergence effect, from my lessons. Could you explain it? Great Thanks!

Hi,
Did you solve that when using shuffle=True ? I always got ValueError: DataLoader with IterableDataset: expected unspecified shuffle option, but got shuffle=True
Thanks!

@CharlesGong12
Copy link
Author

Hi, such an excellect work! I am reading your code and find you don't use shuffle when training here. I remember that not using shuffle will damage the convergence effect, from my lessons. Could you explain it? Great Thanks!

Hi, Did you solve that when using shuffle=True ? I always got ValueError: DataLoader with IterableDataset: expected unspecified shuffle option, but got shuffle=True Thanks!

Nope yet. So I directly use the author's code now.

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