You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem here is that i'm using the protected function _load_state_dict. Is there another way of solving this that i've missed? Or could we consider making _load_state_dict public?
The text was updated successfully, but these errors were encountered:
❓ Questions and Help
Before asking:
What is your question?
I'm wondering what the best practice for loading a model with different hparams than what is stored in the checkpoint?
I realize I could just load the model and set them afterwards e.g.:
But the problem is that my model init function depends on the hparams arg1 and arg2 so they're set too late.
I could also do
The problem here is that i'm using the protected function _load_state_dict. Is there another way of solving this that i've missed? Or could we consider making _load_state_dict public?
The text was updated successfully, but these errors were encountered: