mirror of
https://github.com/aladdinpersson/Machine-Learning-Collection.git
synced 2026-02-20 13:50:41 +00:00
Merge pull request #29 from darveenvijayan/patch-1
Update pytorch_inceptionet.py
This commit is contained in:
@@ -51,7 +51,7 @@ class GoogLeNet(nn.Module):
|
||||
|
||||
self.avgpool = nn.AvgPool2d(kernel_size=7, stride=1)
|
||||
self.dropout = nn.Dropout(p=0.4)
|
||||
self.fc1 = nn.Linear(1024, 1000)
|
||||
self.fc1 = nn.Linear(1024, num_classes)
|
||||
|
||||
if self.aux_logits:
|
||||
self.aux1 = InceptionAux(512, num_classes)
|
||||
|
||||
Reference in New Issue
Block a user