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

How do I save a trained Neural Network to a file? #323

Closed
bootsie123 opened this issue May 7, 2018 · 1 comment
Closed

How do I save a trained Neural Network to a file? #323

bootsie123 opened this issue May 7, 2018 · 1 comment

Comments

@bootsie123
Copy link

Hi. I'm trying to save a neural network when it finishes training so that It can be used again sometime in the future and no other training is required. What I'm trying to do is save it to a file. I have tried using toJSON() and then saving it to a json file and loading it with fromJSON(). However, it doesn't seem to have kept what it actually learned. The other thing I'm looking into is possible using the standalone function and then seeing if it's possible to store the function to a file. Am I doing this correctly or is there a different/better way to do this?

@chrisdothtml
Copy link

If toJSON/fromJSON aren't working, it may have to do with how your network is setup. Can't say without seeing your code

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