Skip to content

Commit d767754

Browse files
authored
Removed softmax from christian_model.py
1 parent d742fe6 commit d767754

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

utils/models/christian_model.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,13 @@ def __init__(self, image_shape, num_classes):
5858
self.cnn2 = CNNBlock(50, 100)
5959

6060
self.fc1 = nn.Linear(100 * 4 * 4, num_classes)
61-
self.softmax = nn.Softmax(dim=1)
6261

6362
def forward(self, x):
6463
x = self.cnn1(x)
6564
x = self.cnn2(x)
6665

6766
x = x.view(x.size(0), -1)
6867
x = self.fc1(x)
69-
x = self.softmax(x)
7068

7169
return x
7270

0 commit comments

Comments
 (0)