-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add a way to save models #105
Comments
If we decide we want to control it on integration-level #69 can be merged as is. |
Do you think it's important to be consistent across integrations so that we don't have to document what each one does individually? Also, might it be important to have a generic method in case we have some change we want to make across integrations (for example, add some logic to track the output if inside a dvc project)? |
Looking back at #69, I don't think it needs to be in I was thinking we might need something like |
If user can register own callback, that would take a lot of work out of our way. Not sure whether that feature would be used a lot. If one needs to write saving funciton anyway, why spend even more time reading how to register it in DVCLive and how it would be handled inside, instead of manually calling that every now and then. |
I agree that Edit: tldr #105 seems fine for keras, and it should be enough to do the same for xgboost and any other integrations. Edit: I meant #69 in the first edit 🤦 |
I reached a similar conclusion when reviewing how to add this functionality to both With the current set of Looking at what other ML Loggers do, I kind of like what In addition, other ML Loggers tend to use the saved model with some |
If using dvc checkpoints, then yes, the model output is already tracked at each step, although this requires some manual stage setup that dvclive might be able to help make easier. Having dvclive take care of calling |
All existing integrations already support saving models so I'm closing this issue. We can now start requiring model saving capabilities to new integrations. |
Integrations should include an option to save model to file. See #69.
Edited with tasklist:
XGBoost
#109MMCV
#110The text was updated successfully, but these errors were encountered: