Skip to content

Commit acbfd8d

Browse files
pblwkNicolasHug
andauthored
Fixed a bug in googlenet.py (#8743)
Co-authored-by: Nicolas Hug <[email protected]>
1 parent e58a2f6 commit acbfd8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/models/googlenet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def eager_outputs(self, x: Tensor, aux2: Tensor, aux1: Optional[Tensor]) -> Goog
171171

172172
def forward(self, x: Tensor) -> GoogLeNetOutputs:
173173
x = self._transform_input(x)
174-
x, aux1, aux2 = self._forward(x)
174+
x, aux2, aux1 = self._forward(x)
175175
aux_defined = self.training and self.aux_logits
176176
if torch.jit.is_scripting():
177177
if not aux_defined:

0 commit comments

Comments
 (0)