updates
This commit is contained in:
@@ -24,7 +24,7 @@ torch.manual_seed(0)
|
|||||||
if cuda:
|
if cuda:
|
||||||
torch.cuda.manual_seed(0)
|
torch.cuda.manual_seed(0)
|
||||||
torch.cuda.manual_seed_all(0)
|
torch.cuda.manual_seed_all(0)
|
||||||
torch.backends.cudnn.benchmark = False
|
torch.backends.cudnn.benchmark = True
|
||||||
|
|
||||||
|
|
||||||
def main(opt):
|
def main(opt):
|
||||||
|
|||||||
Reference in New Issue
Block a user