Open Yonnie1331 opened 3 years ago
I used the --torch-seed argument in the parser, but the results still varies with the same seed. I've tried added:
random.seed(arg_vars["torch_seed"]) np.random.seed(arg_vars["torch_seed"]) torch.manual_seed(arg_vars["torch_seed"]) if torch.cuda.is_available(): torch.cuda.manual_seed_all(arg_vars["torch_seed"]) torch.backends.cudnn.deterministic = True
but still not working. I wonder if anyone has an idea how to solve this?
I used the --torch-seed argument in the parser, but the results still varies with the same seed. I've tried added:
but still not working. I wonder if anyone has an idea how to solve this?