52Hz commited on
Commit
be936b6
1 Parent(s): f431a1a

Update main_test_SRMNet.py

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