Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ import collections
|
|
19 |
|
20 |
net = build_model('cpu').to('cpu')
|
21 |
#net=torch.nn.DataParallel(net)
|
22 |
-
model_path = '
|
23 |
print(model_path)
|
24 |
weight=torch.load(model_path,map_location=torch.device('cpu'))
|
25 |
#print(type(weight))
|
|
|
19 |
|
20 |
net = build_model('cpu').to('cpu')
|
21 |
#net=torch.nn.DataParallel(net)
|
22 |
+
model_path = 'image_best.pth'
|
23 |
print(model_path)
|
24 |
weight=torch.load(model_path,map_location=torch.device('cpu'))
|
25 |
#print(type(weight))
|