Skip to content

GLOBAL MODEL TESTING #1417

Closed Answered by holgerroth
FabioNotaro2001 asked this question in Q&A
Discussion options

You must be logged in to vote

The model is saved in a dict depending on the persistor you used. You might need to access it with model.load_state_dict(torch.load(path_to_model)["model"]) as the standard PT persitor saves additional meta information together with the model weights. For details see here

PERSISTENCE_KEY_MODEL = "model"

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by FabioNotaro2001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants