model = models.inception_v3(pretrained=True)
model.aux_logit = False
in_features = model.fc.in_features
model.fc = nn.Linear(in_features, 16)
Whether I add or not model.aux_logits=False,y_pred’s result is same .