Evaluation of the model after training

Hi @smraniaki

There are a couple of ways, the first “Modulus workflow” approach is using the evaluate mode built into the solver: solver.eval(). This will just run any inferencer / validators you’ve added. See the _eval function in the trainer: https://gitlab.com/nvidia/modulus/modulus/-/blob/release_22.09/modulus/trainer.py#L749

Alternatively you could look at loading the model checkpoint manually using a Modulus model. This checkpoint is saved in the outputs folder of your run. Then running inference manually in a typical PyTorch method:
https://gitlab.com/nvidia/modulus/modulus/-/blob/release_22.09/modulus/models/arch.py#L165