52Hz commited on
Commit
cdc125f
·
1 Parent(s): 6c66462

Update main_test_SRMNet.py

Browse files
Files changed (1) hide show
  1. main_test_SRMNet.py +1 -1
main_test_SRMNet.py CHANGED
@@ -45,7 +45,7 @@ def main():
45
 
46
  for i, file_ in enumerate(tqdm(files)):
47
  img = Image.open(file_).convert('RGB')
48
- input_ = TF.to_tensor(img).unsqueeze(0).cuda()
49
 
50
  # Pad the input if not_multiple_of 8
51
  h, w = input_.shape[2], input_.shape[3]
 
45
 
46
  for i, file_ in enumerate(tqdm(files)):
47
  img = Image.open(file_).convert('RGB')
48
+ input_ = TF.to_tensor(img).unsqueeze(0).to(device)
49
 
50
  # Pad the input if not_multiple_of 8
51
  h, w = input_.shape[2], input_.shape[3]