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
The seed will not be set because this line returns False. I think the true intention is to skip over None, but 0 also gets skipped as it is currently implemented.
🐛 Describe the bug
If you try to set the
seed = 0
as such:The seed will not be set because this line returns
False
. I think the true intention is to skip overNone
, but0
also gets skipped as it is currently implemented.data/torchdata/dataloader2/dataloader2.py
Line 203 in 7d97475
I suppose we can say
seed = 0
is invalid but it is probably better to check forself._seed is not None
instead.Versions
main
The text was updated successfully, but these errors were encountered: