lg-zhang
lg-zhang
From a traditional optimization perspective, you might want to terminate the optimization when your energy is lower than some epsilon. But in many cases, it is impractical to do so...
Do you mean training or inference? Inference results should not change unless your update PyTorch or cudnn. Training results are not guaranteed to be consistent (because it's SGD) but they...
Could you specify what random seeds have you set? To make training deterministic, normally you need to fix seeds for pytorch, random, np.random and also set cudnn to deterministic mode.
Could you try: `random.seed(0)`?