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 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Sailesh Kalyanapu
el 16 de Mayo de 2022
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 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!