You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 28, 2018. It is now read-only.
storing and reloading network weights is something I wish I had done ... especially for long training sessions with a laptop I need to turn off sometimes
To load, I've tried so many things, but Matrices are hard to load.
functionloadNN(){if(localStorage.getItem("nn")===null){nn=newNeuralNetwork(100,100,100,1/100,"tanh");console.log("Loaded a new neural network.");}else{nn=JSON.parse(localStorage.getItem("nn"));nn=Object.assign(newNeuralNetwork,nn);// This doesn't work. How do we do that?nn.wih=Object.assign(newMatrix,nn.wih);nn.woh=Object.assign(newMatrix,nn.woh);console.log("Loaded an existing neural network.");}}
So, if you have an idea about how to do this, I'd be grateful :)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Right now there is a button to download a JSON file with all of the network weights. It would be nice to add a feature to reload weights.
The text was updated successfully, but these errors were encountered: