Spaces:
Sleeping
Sleeping
kietnt0603
commited on
Commit
·
609d43b
1
Parent(s):
c4a1f55
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ model, transform = create_model(
|
|
22 |
# Load saved weights
|
23 |
model.load_state_dict(
|
24 |
torch.load(
|
25 |
-
f="
|
26 |
map_location=torch.device("cpu"), # load to CPU
|
27 |
)
|
28 |
)
|
|
|
22 |
# Load saved weights
|
23 |
model.load_state_dict(
|
24 |
torch.load(
|
25 |
+
f="vit_b_16_food101_cifar100.pth",
|
26 |
map_location=torch.device("cpu"), # load to CPU
|
27 |
)
|
28 |
)
|