Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ img_transform = transforms.Compose([
|
|
12 |
transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]),
|
13 |
])
|
14 |
#Loading the model
|
15 |
-
model = torch.load("model\MobileNet_v3.pt", map_location=torch.device('cpu'))
|
16 |
model.eval()
|
17 |
|
18 |
#Mushroom Classes
|
|
|
12 |
transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]),
|
13 |
])
|
14 |
#Loading the model
|
15 |
+
model = torch.load(Path("model\MobileNet_v3.pt"), map_location=torch.device('cpu'))
|
16 |
model.eval()
|
17 |
|
18 |
#Mushroom Classes
|