-
-
Notifications
You must be signed in to change notification settings - Fork 3
Support optionally saving and loading toolbox #117
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
Conversation
… value logit and added `load_toolbox()`. (#106)
|
@ATATC torch.save(toolbox.optimizer, ...)But saves only the model's state_dict. When loading, |
|
That does exist. |
|
Do the criterion and the scheduler have the same problem? |
|
I think so. |
…mizer, scheduler, and criterion in `Trainer`. Updated `load_toolbox()` logic to align with this change. (#106)
|
Try this fix |
|
@perctrix Can you do a debugging? I needa study for my physics lol |
perctrix
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tried this code. I think it may be able to solve your problem.
…`_build_toolbox()` helper, improving reusability and modularity in `Trainer`. (#106)
|
LGTM |

See #106.