There was an error while loading. Please reload this page.
2 parents 83d234d + 1ba55b7 commit 1b761f1Copy full SHA for 1b761f1
ML/Pytorch/CNN_architectures/pytorch_inceptionet.py
@@ -51,7 +51,7 @@ def __init__(self, aux_logits=True, num_classes=1000):
51
52
self.avgpool = nn.AvgPool2d(kernel_size=7, stride=1)
53
self.dropout = nn.Dropout(p=0.4)
54
- self.fc1 = nn.Linear(1024, 1000)
+ self.fc1 = nn.Linear(1024, num_classes)
55
56
if self.aux_logits:
57
self.aux1 = InceptionAux(512, num_classes)
0 commit comments