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

Save a model? #41

Open
rcpeene opened this issue Sep 7, 2023 · 1 comment
Open

Save a model? #41

rcpeene opened this issue Sep 7, 2023 · 1 comment

Comments

@rcpeene
Copy link

rcpeene commented Sep 7, 2023

Is there any way to save a model and then load it back again later? Sometimes my analysis can take quite a long time and I'd like to be able to reload the model later even if I restart my kernel. If there isn't a way to do this already, I propose there ought to be.

@ahwillia
Copy link
Collaborator

ahwillia commented Sep 7, 2023

If you want an immediate solution, see: https://stackoverflow.com/questions/4529815/saving-an-object-data-persistence

But I agree it would be nice to implement save() and load() functions on the KTensor object. Feel free to give it a go and open and pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants