Custom deep learning layer after a sequence input layer

1 vue (au cours des 30 derniers jours)
Anouar Yatribi
Anouar Yatribi le 3 Août 2020
Modifié(e) : Anouar Yatribi le 3 Août 2020
I have an issue after implementing a custom DNN in MATLAB 2019b.
The issue is that when I implemented a custom layer after a sequence input layer, I got the following error message (Layer_1 is the name of my custom layer):
Invalid network. Layer_1 does not support sequence input. Try using a sequence folding layer before the layer.
I tried to add a sequence folding layer between the sequence input layer and the custom layer but it doesn't work. However, without sequence folding, when I call the "predict" function of my custom layer with a sequence input (one training sample for example), it gives the expected output. So it seems that the DNN architecture is valid, however, the problem remains in the sequence input layer which is incompatible with the custom layer.
I would be happy to hear some suggestions about this issue.

Réponses (0)

Catégories

En savoir plus sur Image Data Workflows dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by