morinop commited on
Commit
4de4ec7
1 Parent(s): 67adcd0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def greet(image):
35
  image = image/255.0
36
  image = image.unsqueeze(0)
37
  print(image.shape)
38
- image = torch.permute(image, [0,2,3,1])
39
  out = model(image)
40
 
41
  # model.train()
 
35
  image = image/255.0
36
  image = image.unsqueeze(0)
37
  print(image.shape)
38
+ image = torch.permute(image, [0,3,1,2])
39
  out = model(image)
40
 
41
  # model.train()