I want to make the results of my results to be reproducible between successive independent runs. I have followed the measures in the link Reproducibility — PyTorch 1.8.1 documentation
and used
import numpy as np
inport random
import torch
random.seed(0)
torch.manual_seed(0)
np.random.seed(0)
However I couldnot use,
torch.use_deterministic_algorithms(True)
as all the model blocks does not satisfy deterministic algorithm.
I just wanted to know is there any other step to reduce the dependency on the randomness involved in any general deep laerning algorithm’s implementation?