I have trained a model, I want save it and then reload it and use it to produce the output for new image.
I have found the function  : torch.model(‘path’) ,but when I reload it it always have problem.
Can anyone give me  some suggestions or a simple example?
Thank you so much.