Closed cagataycali closed 7 years ago
Hi there, I'm in love with your natural brain lib. I think I found a little but critical bug in your code.
I try restore my trained output, (node:2088) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'brain' of undefined
(node:2088) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'brain' of undefined
Oh, I got it, This worked for me BrainJSClassifier.restore(JSON.parse(fs.readFileSync('./data.json', 'utf8')));
BrainJSClassifier.restore(JSON.parse(fs.readFileSync('./data.json', 'utf8')));
Hi there, I'm in love with your natural brain lib. I think I found a little but critical bug in your code.
I try restore my trained output,
(node:2088) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'brain' of undefined