This commit is contained in:
Glenn Jocher 2018-11-08 12:28:19 +01:00
parent c8e4a19879
commit 2463030d6c

View File

@ -24,7 +24,7 @@ torch.manual_seed(0)
if cuda:
torch.cuda.manual_seed(0)
torch.cuda.manual_seed_all(0)
torch.backends.cudnn.benchmark = False
torch.backends.cudnn.benchmark = True
def main(opt):