Error with loading model_____01_PyTorch_workflow______TypeError: Expected state_dict to be dict-like, got <class '__main__.LinearRegressionModel'> #825
Replies: 1 comment
-
Hi Make sure that you added the
If you did not add Hope this helps. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When i am trying to load the state_dict of my previous model into a new instance of that class(as the code shown below)
I am getting this error
I was trying to do this step of the video where I was trying to learn how to load a model
video link at exact timeframe
Please help me navigate this problem. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions