segmenter
segmenter copied to clipboard
KeyError: 'optimizer'
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!
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 ? I did not encounter this problem. Thanks
I have solved this problem,thank you
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.