Arun_Mohan:

f I call model.eval(). I will be only able to predict the results. But unable to get validation loss.


I’m not suggesting to call model.eval(), but .eval() only on dropout and batchnorm layers.
Why wouldn’t you be able to calculate the validation loss using this approach?