Spaces:
Running
Running
Update main_test_SRMNet.py
Browse files- 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).
|
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]
|