Spaces:
Build error
Build error
Update models/richard_model.py
Browse files- models/richard_model.py +1 -1
models/richard_model.py
CHANGED
|
@@ -9,6 +9,6 @@ def get_richard_model():
|
|
| 9 |
model.classifier[6] = nn.Linear(last_in, 512)
|
| 10 |
model.classifier.add_module('new_relu', nn.ReLU())
|
| 11 |
model.classifier.add_module('new_dropout', nn.Dropout())
|
| 12 |
-
model.classifier.add_module('
|
| 13 |
|
| 14 |
return model
|
|
|
|
| 9 |
model.classifier[6] = nn.Linear(last_in, 512)
|
| 10 |
model.classifier.add_module('new_relu', nn.ReLU())
|
| 11 |
model.classifier.add_module('new_dropout', nn.Dropout())
|
| 12 |
+
model.classifier.add_module('new linear', nn.Linear(512, num_classes))
|
| 13 |
|
| 14 |
return model
|