MATLAB Answers

Convolutional LSTM (C-LSTM) in MATLAB

178 views (last 30 days)
Jake
Jake on 9 Oct 2018
Answered: Chen on 25 Aug 2021
I'd like to train a convolutional neural network with an LSTM layer on the end of it. Similar to what was done in:
  1. https://arxiv.org/pdf/1710.03804.pdf
  2. https://arxiv.org/pdf/1612.01079.pdf
Is this possible?

Accepted Answer

Shounak Mitra
Shounak Mitra on 9 Oct 2018
Hi Jake,
Unfortunately, we do not directly support C-LSTM. We are working on it and it should be available soon.
-- Shounak
  4 Comments

Sign in to comment.

More Answers (2)

Yi Wei
Yi Wei on 17 Dec 2019
Hi, can matlab support C-LSTM now?
  5 Comments
Ioana Cretu
Ioana Cretu on 18 May 2021
Hi! When I try to train the model I have this error:
Error using trainNetwork (line 170)
Invalid network.
Caused by:
Layer 'fold': Unconnected output. Each layer output must be connected to the input of another layer.
Detected unconnected outputs:
output 'miniBatchSize'
Layer 'unfold': Unconnected input. Each layer input must be connected to the output of another layer.
I connected the layers using this:
lgraph = layerGraph(Layers);
lgraph = connectLayers(lgraph,'fold/miniBatchSize','unfold/miniBatchSize');
What do you think the cause is?

Sign in to comment.


Chen
Chen on 25 Aug 2021
Please refer to this excellent example in:
It is possible to train the hybrid together.

Community Treasure Hunt

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

Start Hunting!

Translated by