Does __getitem__ of dataloader reset random seed?

You shouldn’t set random seed in getitem, and should only set the numpy one in worker_init_fn if you use numpy. See https://pytorch.org/docs/master/notes/faq.html#my-data-loader-workers-return-identical-random-numbers