Custom deep learning layer after a sequence input layer
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!