mobadara commited on
Commit
1924163
·
1 Parent(s): 5beddbd

editted ml_model.py

Browse files
Files changed (1) hide show
  1. backend/ml_model.py +2 -2
backend/ml_model.py CHANGED
@@ -30,10 +30,10 @@ def get_densenet_model() -> nn.Module:
30
  num_features = model.classifier.in_features
31
 
32
  model.classifier = nn.Sequential(
33
- nn.Linear(num_features, 265),
34
  nn.ReLU(),
35
  nn.Dropout(0.3),
36
- nn.Linear(265, 2)
37
  )
38
  return model
39
 
 
30
  num_features = model.classifier.in_features
31
 
32
  model.classifier = nn.Sequential(
33
+ nn.Linear(num_features, 256),
34
  nn.ReLU(),
35
  nn.Dropout(0.3),
36
+ nn.Linear(256 2)
37
  )
38
  return model
39