Does the Matlab trainNetwork() function re-initialise the model's weights to zero? Or will it use the previously learnt weights as a starting point?
3 次查看(过去 30 天)
显示 更早的评论
Really would help to know this so that I know whether or not I am just wasting my time re training my model on the new data I received. Doesn't mention it anywhere in the documentation, and I have found threads on here discussing the train() function in regards to this question, but none on the trainNetwork() function, so I don't know if the answers will be the same.
0 个评论
回答(1 个)
Sailesh Kalyanapu
2022-5-16
It is my understading that you are looking to retrain an existing trained model on new data using trainNetwork() function.
It is possible to save networks as .mat files during training and resume training from the last saved checkpoint network.
Please refer to the below documentation and example to Save Checkpoint Networks and Resume Training
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!