Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def infer(img):
|
|
16 |
#img = ImageOps.contain(img, (700, 700))
|
17 |
width, height = img.size
|
18 |
res=np.ones_like(img.size)
|
19 |
-
print(
|
20 |
print(width)
|
21 |
img.save("./data/data.png")
|
22 |
os.system('python main_test_swinir.py')
|
|
|
16 |
#img = ImageOps.contain(img, (700, 700))
|
17 |
width, height = img.size
|
18 |
res=np.ones_like(img.size)
|
19 |
+
print(res.shape)
|
20 |
print(width)
|
21 |
img.save("./data/data.png")
|
22 |
os.system('python main_test_swinir.py')
|