By default the inception model returns two outputs, the output of the last linear layer and the aux_logits.
If you don’t want to use the aux_logits for your training, just index out at 0:
loss = criterion(out[0], labels)

If you are training from scratch, you might just disable it the aux_logits: model = models.inception_v3(aux_logits=False).