How can pass the output of the fully connected layer of a deep learning model to the sequence input layer of another deep learning model?
5 views (last 30 days)
Show older comments
mahmoud Bassiouni
on 20 Dec 2022
Edited: James Gross
on 21 Dec 2022
I need to known how to pass the features extracted from the fully connected layers of a pre-trained model for example (Alexnet) to
a sequence input layer of an LSTM model any Help.
Accepted Answer
James Gross
on 21 Dec 2022
Edited: James Gross
on 21 Dec 2022
Hi Mahmoud,
Considering the sequence input layer and LSTMs are meant to be used for sequential data while AlexNet is for images, it sounds like you would like to use a pre-trained image classification model for video classification. If this is the case, the following documention example demonstrates precisely how to do this using GoogleNet.
You should be able to easily modify this example for a pre-trained image classification model of your choosing.
I hope this information helps!
James
0 Comments
More Answers (0)
See Also
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!