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에서 Image Data Workflows에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!