updates
This commit is contained in:
@@ -35,7 +35,8 @@ 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 = True
|
if not opt.multi_scale:
|
||||||
|
torch.backends.cudnn.benchmark = True
|
||||||
|
|
||||||
|
|
||||||
def main(opt):
|
def main(opt):
|
||||||
|
|||||||
Reference in New Issue
Block a user