Spaces:
Runtime error
Runtime error
johnpaulbin
commited on
Commit
•
5efb4cb
1
Parent(s):
825a6ae
Update app.py
Browse files
app.py
CHANGED
@@ -96,7 +96,7 @@ model = nn.Sequential(
|
|
96 |
nn.Dropout(0.05) # Dropout
|
97 |
)
|
98 |
|
99 |
-
model.load_state_dict(torch.load("large-tuned.pth", map_location=torch.device('cpu')))
|
100 |
model.eval()
|
101 |
|
102 |
|
|
|
96 |
nn.Dropout(0.05) # Dropout
|
97 |
)
|
98 |
|
99 |
+
model.load_state_dict(torch.load("large-tuned.pth", map_location=torch.device('cpu')), strict=False)
|
100 |
model.eval()
|
101 |
|
102 |
|