Why there is the need to train CNN and LSTM separately before combining them?

2 visualizzazioni (ultimi 30 giorni)
Looking for example about the possibility of using CNN+LSTM classification i went through this example:
And i was asking myself why LSTM is trained separately and then combined with convolutional layers pretrained from googleNET?
It is not possible to build the entire architecture from scratch and trained it as whole ?

Risposta accettata

Srivardhan Gadila
Srivardhan Gadila il 30 Mar 2020
Fine-tuning a network built from pretrained network is usually much faster and easier than training a network with randomly initialized weights from scratch.Hence you can take a pretrained image classification network that has already learned to extract powerful and informative features from natural images and use it as a starting point to learn a new task.

Più risposte (0)

Categorie

Scopri di più su Deep Learning Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by