Train a cascaded neural network together

How to train a 2 cascaded neural network together while the 2nd NN allready trined and supply the target output to the 1st NN in training proccess,
Using the following implementaion of NNs:
net = trainNetwork(XTrain,YTrain,layers,options);

Respuestas (1)

Srivardhan Gadila
Srivardhan Gadila el 11 de Jun. de 2021

0 votos

I think it may be complicated or may not be possible if you are solving the above problem with layerGraph and trainNetwork based workflow. Instead I would suggest you to solve it with dlnetwork & Deep Learning Custom Training Loops based approach.

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 29 de Abr. de 2021

Respondida:

el 11 de Jun. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by