I have tried setting numpy.random.seed and torch.manual_seed, they did not work. How to achieve deterministic results?