0x90e commited on
Commit
47cf923
·
1 Parent(s): da9a350

Remove optimization :(

Browse files
Files changed (1) hide show
  1. test.py +0 -1
test.py CHANGED
@@ -33,7 +33,6 @@ img = img * 1.0 / 255
33
  img = torch.from_numpy(img[np.newaxis, :, :]).float()
34
  img_LR = img.unsqueeze(0)
35
  img_LR = img_LR.to(device)
36
- img_LR = img_LR.pin_memory()
37
 
38
  print('Start upscaling...')
39
  with torch.no_grad():
 
33
  img = torch.from_numpy(img[np.newaxis, :, :]).float()
34
  img_LR = img.unsqueeze(0)
35
  img_LR = img_LR.to(device)
 
36
 
37
  print('Start upscaling...')
38
  with torch.no_grad():