ImageFolder data shuffle?

Did you get the code running with Pytorch 0.4?
If so, could you tell me whether there were major changes necessary to do so?