DavidFM43 commited on
Commit
2fda342
1 Parent(s): 09dd257

Fix height and width resize

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(),