Spaces:
Sleeping
Sleeping
Kathir
commited on
Commit
·
68f7e9f
1
Parent(s):
44d3940
Added project files
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ vit_b16_model, vit_transforms = create_vit_b16(num_classes=len(class_names))
|
|
| 16 |
|
| 17 |
vit_b16_model.load_state_dict(
|
| 18 |
torch.load(
|
| 19 |
-
f="
|
| 20 |
map_location=torch.device("cpu")
|
| 21 |
)
|
| 22 |
)
|
|
|
|
| 16 |
|
| 17 |
vit_b16_model.load_state_dict(
|
| 18 |
torch.load(
|
| 19 |
+
f="ViT_B16_510_classes.pth",
|
| 20 |
map_location=torch.device("cpu")
|
| 21 |
)
|
| 22 |
)
|