Spaces:
Sleeping
Sleeping
Fix height and width resize
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ model.eval()
|
|
45 |
|
46 |
|
47 |
# transforms
|
48 |
-
downsize_t = transforms.Resize(config["downsize_res"], antialias=True)
|
49 |
transform = transforms.Compose(
|
50 |
[
|
51 |
transforms.ToTensor(),
|
|
|
45 |
|
46 |
|
47 |
# transforms
|
48 |
+
downsize_t = transforms.Resize((config["downsize_res"], config["downsize_res"]), antialias=True)
|
49 |
transform = transforms.Compose(
|
50 |
[
|
51 |
transforms.ToTensor(),
|