Closed EricZQu closed 3 months ago
Thanks for flagging this!
Always open to contributions :)
FWIW - when constructing the calculator you don't need to specify the config, the checkpoint is sufficient. But we certainly should get this resolved.
Thanks for working on this! I think it should be resolved because it won't support the checkpoints trained with new configs as well.
Nit: this checkpoint loading method is also outdated (if I'm understanding this correctly). Now the trainer expects a None
if checkpoint is not passed. So the line 231-232 should be removed.
Yup that should be reflected in the PR above. Feel free to check out the branch and test it on your end. It should be working fine now.
Oh thanks! I missed that. And it is working for me now. Feel free to close this issue when merged in.
I'm trying to use
OCPCalculator
to run some relaxations, but it stopped working after the config update.MWE:
Error:
If you guys are open to contributions, I could try to fix it 😃