Function to trainNetwork returns an unexpected error
显示 更早的评论
My code returns the following error for this function call - What is the fix for this?
net = trainNetwork(X_train, categorical(y_train), layers, options);
Error using trainNetwork (line 191)
Too many input arguments.
Error in LSTMGomz (line 63)
net = trainNetwork(X_train, categorical(y_train), layers, options);
Caused by:
Error using nnet.internal.cnn.trainNetwork.DLTInputParser>iParseInputArguments (line 75)
Too many input arguments.
2 个评论
Matt J
2024-6-7
You would have to attach a .mat file providing inputs X_train, categorical(y_train), layers, options for us to run with.
Ernest Modise - Kgamane
2024-6-7
编辑:Ernest Modise - Kgamane
2024-6-7
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!