Spaces:
Runtime error
Runtime error
fix typo
Browse files
model.py
CHANGED
@@ -27,6 +27,6 @@ def create_effnetb2_model(num_classes: int = 3,
|
|
27 |
torch.manual_seed(seed)
|
28 |
model.classifier = nn.Sequential(
|
29 |
nn.Dropout(p=0.3, inplace=True),
|
30 |
-
nn.Linear(in_features=1408, out_features=
|
31 |
)
|
32 |
return model, transforms
|
|
|
27 |
torch.manual_seed(seed)
|
28 |
model.classifier = nn.Sequential(
|
29 |
nn.Dropout(p=0.3, inplace=True),
|
30 |
+
nn.Linear(in_features=1408, out_features=num_classes)
|
31 |
)
|
32 |
return model, transforms
|