How to retrain a CNN/LSTM using new recorded data?
5 次查看(过去 30 天)
显示 更早的评论
I have trainined a hybrid CNN/LSTM network to classification sequential data, in offline experiements it works very well.
In a live scenario it does not perform as well so i wanted to take the sequential sequences recorded during the live experiments and then combine this with the original dataset and retrain the model with the combined dataset.
Once I combined the old dataset with the new data i tried
newNet = trainNetwork(oldNet,XTrain,YTrain); & newNet = trainNetwork(oldNet,XTrain,YTrain,layers,options);
This gives me an error of too many input arguments
Is this possible?
Regards
0 个评论
采纳的回答
Mahesh Taparia
2021-10-15
Hello,
You can refer this documentation of training from pretrained weights. You can save the trained network from the old data and load it while adding the new data.
Hope it will help!
0 个评论
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!