2D-VQ-AE-2
2D-VQ-AE-2 copied to clipboard
Make sure WSI stack random crops are repreducible
Problem:
- pl.seed_everything only seeds numpy.random, the new numpy.default_rng() is not seeded.
- This leads to un-seeded crops, which are not desirable from a reproducibility perspective
Solution:
- Use pytorch.random