Combining CNN and RNN together to improve performance
Show older comments
Hello Mr/Ms,
I got an error when I tried to combine CNN with RNN in the same network .
I want to use CNN to extract features and then give them to RNN to detect certain sequence as a certain label.
Is there a workaround to handle this situation?
Thanks,
4 Comments
Walter Roberson
on 24 Sep 2018
That would depend which software you are using.
If you are trying to combine the standard Mathworks routines for those purposes, then No, you cannot do that. The internal representations are quite different and you cannot create a NN that combines those routines.
Hossam Elshahaby
on 24 Sep 2018
Walter Roberson
on 24 Sep 2018
Have the first network end, outputting data arrays. Input the data arrays to the second network.
If you are using the standard Mathworks cnn and rcnn then as far as I know there is no way to to have one call into the other. Perhaps there is a way to invoke a function handle that I did not happen to notice.
sotiraw sotiroglou
on 24 Mar 2019
Edited: sotiraw sotiroglou
on 24 Mar 2019
Matlab 2019a is out and at its video says it can now combine rnn and cnn. Anyone with an example'?
I dont know the details, but i write this answer to encourage everyone with the same issue to search and maybe help with an example
Answers (0)
Categories
Find more on Deep Learning Toolbox 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!