examples icon indicating copy to clipboard operation
examples copied to clipboard

Fix random seed bug of DDP in the ImageNet example

Open LeeDoYup opened this issue 5 years ago • 1 comments

the random seed has to be set in the main_worker, not in the def main(). I found that although the seed is set in def main(), each process in distributed training has individual & different seeds.

LeeDoYup avatar Sep 25 '20 12:09 LeeDoYup