allispaul commited on
Commit
3119e39
1 Parent(s): e315722
Files changed (1) hide show
  1. model.py +1 -1
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=len(class_names))
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