Commit
·
fced91e
1
Parent(s):
b59b6e9
Update model.py
Browse files
model.py
CHANGED
@@ -38,7 +38,7 @@ def create_effnetb0_model(num_classes:int=10,
|
|
38 |
torch.manual_seed(seed)
|
39 |
model.classifier = nn.Sequential(
|
40 |
nn.Dropout(p=0.3),
|
41 |
-
nn.Linear(in_features=1280
|
42 |
)
|
43 |
|
44 |
return model, transforms
|
|
|
38 |
torch.manual_seed(seed)
|
39 |
model.classifier = nn.Sequential(
|
40 |
nn.Dropout(p=0.3),
|
41 |
+
nn.Linear(in_features=1280, out_features=num_classes)
|
42 |
)
|
43 |
|
44 |
return model, transforms
|