Remove thread setting

This commit is contained in:
hzwer
2020-11-20 15:08:52 +08:00
parent 928d6165e6
commit fd0f334da7
2 changed files with 0 additions and 2 deletions

View File

@@ -13,7 +13,6 @@ if torch.cuda.is_available():
torch.set_grad_enabled(False)
torch.backends.cudnn.enabled = True
torch.backends.cudnn.benchmark = True
torch.set_num_threads(4)
parser = argparse.ArgumentParser(description='Interpolation for a pair of images')
parser.add_argument('--video', dest='video', required=True)

View File

@@ -13,7 +13,6 @@ if torch.cuda.is_available():
torch.set_grad_enabled(False)
torch.backends.cudnn.enabled = True
torch.backends.cudnn.benchmark = True
torch.set_num_threads(4)
parser = argparse.ArgumentParser(description='Interpolation for a pair of images')
parser.add_argument('--video', dest='video', required=True)