2D-VQ-AE-2 icon indicating copy to clipboard operation
2D-VQ-AE-2 copied to clipboard

Make sure WSI stack random crops are repreducible

Open robogast opened this issue 2 years ago • 0 comments

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

robogast avatar Jan 27 '22 13:01 robogast