-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyError: 'optimizer' #50
Comments
I have solved this problem,thank you |
I also encountered the same problem.How did you solve it? |
@Werejoice any chance you could share what went wrong and how you solved it ? |
Seriously? |
What version of Python are you using in this project @rstrudel? |
I've been trying to use this code but I encountered the same problem. I downloaded the checkpoint.pth from tiny mask but it looks like there is only 3 key/value inside: model, n_cls and epoch. So the key "optimizer" does not exist. I'm definitely doing something wrong. If anyone can help me, that would be great. |
Checkpoint did not save the optimizer when saving. The problem can be solved by deleting checkpoint in seg_tiny_mask according to the code. |
Thank you for your excellent work, but I have a problem about module checkpoint.pth.When I try to run segm.train module,there is an error "KeyError: 'optimizer'",Hope you to answer me. thanks again!
The text was updated successfully, but these errors were encountered: