switching to evaluation mode fixes some of the model’s parameters,
for eg: batch norm uses collected statistics instead of actual batch statistics, dropouts are fixed, etc.
all the above may effect the performance of your model over the data, especially since you use the training data for evaluation.