Skip to content
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

Create API for Saving and Loading Model Snapshot #72

Open
e5l opened this issue May 25, 2021 · 1 comment
Open

Create API for Saving and Loading Model Snapshot #72

e5l opened this issue May 25, 2021 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@e5l
Copy link
Member

e5l commented May 25, 2021

I want to try out different training mechanisms using save-restore-replay. Could you tell me if it's possible to make API to support such use-cases?

@zaleslaw zaleslaw added the question Further information is requested label May 25, 2021
@zaleslaw
Copy link
Collaborator

zaleslaw commented May 27, 2021

Today you have a few approaches to save the model and continue work with that

  1. Save the model as TF graph and weights in txt format (example). The model could be used for inference only after loading as InferenceModel.
  2. Save the model as JSON config and weights in txt format (example). The model could be fine-tuned, training could be continued. This approach works well in both cases: you trained your model in Keras or KotlinDL firstly. The checkpointing could be organized via a sequence of model saving in this format.

Agree, that we need probably the special checkpointing API.

@zaleslaw zaleslaw self-assigned this Jun 15, 2021
@zaleslaw zaleslaw added this to the 0.4 milestone Sep 13, 2021
@zaleslaw zaleslaw modified the milestones: 0.4, 0.5 Dec 15, 2021
@ermolenkodev ermolenkodev removed this from the 0.5 milestone Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants