Deploy inference with a trained model

Hi I’ve trained a model and saved the model to run inference with the trained model in order to get the loss value and calculate other metrics. I load the model correctly, but I don’t know how to proceed.

I don’t know where you are stuck, but given that you want to calculate the loss as well as other metrics you could reuse the previously used training code, call model.eval() and skip the optimization of the model.