Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ model, transforms = create_effnetb2_model(
|
|
16 |
# Load saved weights
|
17 |
model.load_state_dict(
|
18 |
torch.load(
|
19 |
-
f=
|
20 |
map_location=torch.device("cpu"), # load to CPU
|
21 |
)
|
22 |
)
|
|
|
16 |
# Load saved weights
|
17 |
model.load_state_dict(
|
18 |
torch.load(
|
19 |
+
f="09_pretrained_effnetb2_feature_extractor_food101_20_percent.pth",
|
20 |
map_location=torch.device("cpu"), # load to CPU
|
21 |
)
|
22 |
)
|