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
Add shuffle_after_epoch_seed argument to file-based readers.
* Adds an optional `shuffle_after_epoch_seed` (int32) argument to all
readers that support `shuffle_after_epoch`: readers.file, readers.numpy,
readers.fits, readers.coco, and readers.nemo_asr.
* Previously the per-epoch shuffle was always seeded with a fixed
constant, making the dataset order identical across training runs.
The new argument lets users supply a custom base seed so that
different training runs produce statistically independent orderings,
while still guaranteeing a consistent global permutation across shards.
* When omitted, the old fixed seed is used, preserving backward compatibility.
* Tests added in test_shuffling.py and test_numpy.py.
Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
0 commit comments