BrushNet icon indicating copy to clipboard operation
BrushNet copied to clipboard

Why not shuffling training dataset

Open CharlesGong12 opened this issue 1 year ago • 2 comments

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!

CharlesGong12 avatar Jul 11 '24 11:07 CharlesGong12

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!

xduzhangjiayu avatar Sep 11 '24 11:09 xduzhangjiayu

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.

CharlesGong12 avatar Sep 12 '24 07:09 CharlesGong12