Spaces:
Build error
Build error
Commit
·
5564a23
1
Parent(s):
9815b9f
Update app.py
Browse files
app.py
CHANGED
@@ -18,8 +18,8 @@ for param in model.parameters():
|
|
18 |
# # Replace the classifier layer
|
19 |
# # to customise it according to our output
|
20 |
model.classifier = nn.Sequential(
|
21 |
-
nn.Linear(
|
22 |
-
|
23 |
nn.Linear(256, 2))
|
24 |
|
25 |
checkpoint = torch.load(
|
|
|
18 |
# # Replace the classifier layer
|
19 |
# # to customise it according to our output
|
20 |
model.classifier = nn.Sequential(
|
21 |
+
nn.Linear( 256*7*7, 1024),
|
22 |
+
nn.Linear(1024, 256),
|
23 |
nn.Linear(256, 2))
|
24 |
|
25 |
checkpoint = torch.load(
|