-
Hello, I finished training my model and saved the best_model using
Now, in my other file, I want to perform inference given the Do I need to create a new Problem() and then load the pth file?
However, this requires me to define create the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Solved by using torch.save(fx, "model_name.pth") |
Beta Was this translation helpful? Give feedback.
Solved by using torch.save(fx, "model_name.pth")