Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ model = models.vgg16(pretrained=True)
|
|
10 |
|
11 |
model.classifier[6] = torch.nn.Linear(in_features=4096, out_features=2)
|
12 |
|
13 |
-
model_save_path = "models/
|
14 |
tensors = {}
|
15 |
with safe_open(model_save_path, framework="pt", device="cpu") as f:
|
16 |
for key in f.keys():
|
|
|
10 |
|
11 |
model.classifier[6] = torch.nn.Linear(in_features=4096, out_features=2)
|
12 |
|
13 |
+
model_save_path = "models/model.safetensors"
|
14 |
tensors = {}
|
15 |
with safe_open(model_save_path, framework="pt", device="cpu") as f:
|
16 |
for key in f.keys():
|