Upload folder using huggingface_hub
Browse files- app.py +1 -1
- example1.jpg +0 -0
- example2.jpg +0 -0
app.py
CHANGED
@@ -7,7 +7,7 @@ import timm
|
|
7 |
|
8 |
# Load model
|
9 |
model = timm.create_model("efficientnet_b3a", pretrained=True, num_classes=2)
|
10 |
-
model.load_state_dict(torch.load("model.pth", map_location="cpu"))
|
11 |
model.eval()
|
12 |
|
13 |
# Transform
|
|
|
7 |
|
8 |
# Load model
|
9 |
model = timm.create_model("efficientnet_b3a", pretrained=True, num_classes=2)
|
10 |
+
# model.load_state_dict(torch.load("model.pth", map_location="cpu"))
|
11 |
model.eval()
|
12 |
|
13 |
# Transform
|
example1.jpg
ADDED
![]() |
example2.jpg
ADDED
![]() |