You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, I'm using random seed on most of the models, some models don't require to define it because the library by default is generating it, some others require it.
Dear Luis @lrm22005 ,
I saw in the end of this Pytorch official tutorial:
https://pytorch.org/docs/stable/notes/randomness.html
They set the random seed for DataLoader as well:
According to Pytorch DataLoader documentation, the default shuffle is False.
https://pytorch.org/docs/stable/data.html#torch.utils.data.DataLoader
So, do we need the pass the
generator = g
in the DataLoader to provide reproducible results?The text was updated successfully, but these errors were encountered: