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
If I try to run exactly the dead simple LSTM example posted here: #217
I still get the error
const trainResults = lstm.trainer.train(trainSet, trainOptions);
^
TypeError: Cannot read property 'train' of undefined
at Object.<anonymous> (/Users/robgordon/dev/data/test.com/easyTest.js:29:35)
at Module._compile (module.js:641:30)
at Object.Module._extensions..js (module.js:652:10)
at Module.load (module.js:560:32)
at tryModuleLoad (module.js:503:12)
at Function.Module._load (module.js:495:3)
at Function.Module.runMain (module.js:682:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:613:3
Do I have the wrong version of Node running maybe?
The text was updated successfully, but these errors were encountered:
I got the same a while ago and used the XOR trainingset to test the basics, than rewrote my trainingset code from scratch. I must have had a bug in the creation of my trainingset and the recent Synaptic code is more bitchy to detect broken training data.
I just tried the exact same thing. It appears that the trainer property on the LSTM has been removed. Seems like you now much instantiate your own trainer, maybe something like this?
If I try to run exactly the dead simple LSTM example posted here: #217
I still get the error
Do I have the wrong version of Node running maybe?
The text was updated successfully, but these errors were encountered: