How to use pretrain networks like vgg19,resnet18?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Shilpa Sonawane
am 13 Sep. 2022
Kommentiert: Shilpa Sonawane
am 24 Jan. 2023
I would like to use pretrained network like VGG19, RESNET18. The output of this network should be connected to LSTM.
Which layer should be considered to take output from pretrain network?
3 Kommentare
Akzeptierte Antwort
Nadia Shaik
am 23 Nov. 2022
Hi Shilpa,
I understand that you wish to connect the output of CNN to LSTM network. MATLAB supports workflows containing both CNN and LSTM layers.
You can convert the videos to sequences of feature vectors using a pretrained convolutional neural network, such as GoogleNet, to extract features from each frame. And then, train an LSTM network on the sequences to predict the video labels.
Please check the link that contains an example showing the CNN+LSTM workflow https://www.mathworks.com/help/deeplearning/examples/classify-videos-using-deep-learning.html
Similarly, you can use the convolutional neural networks like VGG19, RESNET18 to extract features and then train an LSTM network.
I hope this helps
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Recognition, Object Detection, and Semantic Segmentation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!