How to retrain a CNN/LSTM using new recorded data?

12 ビュー (過去 30 日間)
CHRISTOPHER MILLAR
CHRISTOPHER MILLAR 2021 年 10 月 7 日
回答済み: CHRISTOPHER MILLAR 2021 年 10 月 18 日
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

採用された回答

Mahesh Taparia
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!

その他の回答 (1 件)

CHRISTOPHER MILLAR
CHRISTOPHER MILLAR 2021 年 10 月 18 日
Hi
Thanks for the response
I will look at this link you have provided

カテゴリ

Help Center および File ExchangeGet Started with Statistics and Machine Learning Toolbox についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by