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 Sep 26, 2023. It is now read-only.
After training my network, i tried to get the json and load onto another network. I am hitting this error while doing that .
var net = new brain.NeuralNetwork({learningRate: 0.3});
net.train(game.data.nndata, {log:true, errorThresh:0.02, logPeriod:100, iterations:100});
var json = net.toJSON();
var net1 = new brain.NeuralNetwork();
net1.fromJSON(json); // hitting the error here
Please add usage examples for using toJSON and fromJSON if something is wrong with the way its done above.
The text was updated successfully, but these errors were encountered:
After training my network, i tried to get the json and load onto another network. I am hitting this error while doing that .
Please add usage examples for using toJSON and fromJSON if something is wrong with the way its done above.
The text was updated successfully, but these errors were encountered: