Spidartist
commited on
Commit
·
3798706
1
Parent(s):
5f73c99
Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ def ant_genus_classification(image):
|
|
99 |
|
100 |
print(image.shape)
|
101 |
with torch.no_grad():
|
102 |
-
y_hat = model(
|
103 |
y_hat = torch.nn.functional.softmax(y_hat, dim=1)
|
104 |
preds = torch.argmax(y_hat, dim=1)
|
105 |
|
|
|
99 |
|
100 |
print(image.shape)
|
101 |
with torch.no_grad():
|
102 |
+
y_hat = model(image)
|
103 |
y_hat = torch.nn.functional.softmax(y_hat, dim=1)
|
104 |
preds = torch.argmax(y_hat, dim=1)
|
105 |
|