We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Counterintuitively, calling len() on a ffcv.loader.Loader instance modifies its internal state:
len()
ffcv.loader.Loader
ffcv/ffcv/loader/loader.py
Lines 253 to 258 in bfd9b3d
This causes the bug in #140 when paired with OrderOption.QUASI_RANDOM. I suppose the culprit is this line:
OrderOption.QUASI_RANDOM
ffcv/ffcv/traversal_order/quasi_random.py
Line 24 in bfd9b3d
The text was updated successfully, but these errors were encountered:
Thanks @dpaleka It should be an easy fix :)
Sorry, something went wrong.
Make __len__ deterministic
1b99394
- Resolves #163
Thanks for the report, it will be in the next release
2b205c8
- Resolves libffcv#163
GuillaumeLeclerc
No branches or pull requests
Counterintuitively, calling
len()
on affcv.loader.Loader
instance modifies its internal state:ffcv/ffcv/loader/loader.py
Lines 253 to 258 in bfd9b3d
This causes the bug in #140 when paired with
OrderOption.QUASI_RANDOM
.I suppose the culprit is this line:
ffcv/ffcv/traversal_order/quasi_random.py
Line 24 in bfd9b3d
The text was updated successfully, but these errors were encountered: