Skip to content

Commit 1b761f1

Browse files
Merge pull request aladdinpersson#29 from darveenvijayan/patch-1
Update pytorch_inceptionet.py
2 parents 83d234d + 1ba55b7 commit 1b761f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ML/Pytorch/CNN_architectures/pytorch_inceptionet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def __init__(self, aux_logits=True, num_classes=1000):
5151

5252
self.avgpool = nn.AvgPool2d(kernel_size=7, stride=1)
5353
self.dropout = nn.Dropout(p=0.4)
54-
self.fc1 = nn.Linear(1024, 1000)
54+
self.fc1 = nn.Linear(1024, num_classes)
5555

5656
if self.aux_logits:
5757
self.aux1 = InceptionAux(512, num_classes)

0 commit comments

Comments
 (0)