DL Network Designer, Sequential LSTM regression

Hello,
Iam new to DLN Designer, this is my first try. Im trying to calculate a sequenced timeseries LSTM regression from a 3D matrix input.
I get the following error:
net_6 = train(net_6, X, Y);
Incorrect number or types of inputs or outputs for function train.
size(X)
5.00 19465.00 21.00
size(Y)
19465.00 1.00
I have changed Y the other way around but that did not help. I have changed MinLength to 1, that did not helped. Any help would be appreciated! Screenshots below.
Thank you so much,
Gabor

回答 (1 件)

Matt J
Matt J 2024 年 12 月 16 日

1 投票

The train() command is not applicable to networks composed with the Deep Learning Toolbox. You need to use trainnet, or its older, deprecated version trainNetwork.

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

製品

リリース

R2024b

質問済み:

2024 年 12 月 16 日

コメント済み:

2024 年 12 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by