model.train() will change the behavior of some layers, such as enabling dropout and using the batch stats in batchnorm layers while also updating the running stats. Depending on the model architecture and which layers are used, model.train()/.eval() might or might not have any effect (you should still use it in case you’ll add e.g. dropout layers later).