Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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,
|
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()
|