Train a cascaded neural network together

1 view (last 30 days)
Israel Yaish
Israel Yaish on 29 Apr 2021
Answered: Srivardhan Gadila on 11 Jun 2021
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);

Answers (1)

Srivardhan Gadila
Srivardhan Gadila on 11 Jun 2021
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.

Categories

Find more on Image Data Workflows in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!