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 training loop has no problem but when I call trainer.test() a runtime error arrises
RuntimeError: Error(s) in loading state_dict for Model:
Unexpected key(s) in state_dict: "embs.0.weight", "embs.1.weight", "embs.2.weight", "embs.3.weight".
Expected behavior
As in the documentation It should have used the best checkpoint for test but loading checkpoint fails
🐛 Bug
Unable to load from checkpoint for model with embeddings
Code sample
model arch
the training loop has no problem but when I call trainer.test() a runtime error arrises
RuntimeError: Error(s) in loading state_dict for Model:
Unexpected key(s) in state_dict: "embs.0.weight", "embs.1.weight", "embs.2.weight", "embs.3.weight".
Expected behavior
As in the documentation It should have used the best checkpoint for test but loading checkpoint fails
Environment
The text was updated successfully, but these errors were encountered: