Function to trainNetwork returns an unexpected error
Ältere Kommentare anzeigen
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 Kommentare
Matt J
am 7 Jun. 2024
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
am 7 Jun. 2024
Bearbeitet: Ernest Modise - Kgamane
am 7 Jun. 2024
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!