Skip to content
Advertisement

Tag: pytorch-dataloader

The shuffling order of DataLoader in pytorch

I am really confused about the shuffle order of DataLoader in pytorch. Supposed I have a dataset: In scenario I, the code is: the shuffling result is 0,4,2,3,1. In scenario II, the code is: the shuffling result is 1,3,4,0,2. In scenario III, the code is: the shuffling result is 4,1,3,0,2. Can someone explain what is going on here? Answer Based

Advertisement