Found the answer, inn pytorch using Inception_v3 model return a tuple of logits and auxilary logits (aux_logits) while training but returns only logits while evaluating.
We can use aux_logits = False while loading the model.