Recently, I utilize the nn.functional.upsample function, and I set all the seed, cudnn deterministic the same, just as follows:
torch.backends.cudnn.benchmark = False
torch.backends.cudnn.deterministic = True
I use the same code and train the code twice, but I got two different results. And finally, I find the reason is casued by the upsample function.
The torch version is 0.4.0, and cuda8.0.
So, how should I solve the problem? Thank you very much.