The shuffle results of DataLoader changes according to different network architecture;
I set fixed random seed in the front as below:
torch.backends.cudnn.deterministic = True
random.seed(1)
torch.manual_seed(1)
torch.cuda.manual_seed(1)
np.random.seed(1)

and I can get same shuffle results every running time;
But if I changed the network (for example, reduce channels of each layer), and keep the same random seed, shuffle results will changed.
How to get the same shuffle results in this case?
My environment as below:
Ubuntu 16.04 LTS, Torch 0.4.1