- sdgm
- rmsprop
- adam
- lbfgs
I am working on neural networks and having matlab 2021a and 2023a, but i face invalid solver name option while using optimization techniques.
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Muhammad Shoaib
el 1 de En. de 2024
I am working on neural networks and having matlab 2021a and 2023a versions, but i face invalid solver name option while using optimization techniques like adadelta, adagrad, trainbr,trainlm,traingdx, trainscg, trainbfg with LSTM. how i solve this problem?
options = trainingOptions('trainbr', ...
'MaxEpochs', 10, ...
'MiniBatchSize', 10, ...
'GradientThreshold', 1, ...
'Verbose', 1, ...
'Plots', 'training-progress');
it gives invalid solver name.
0 comentarios
Respuesta aceptada
Ayush
el 1 de En. de 2024
Editada: Ayush
el 1 de En. de 2024
I understand that you are getting invalid solver name option while using optimization techniques like adadelta, adagrad, trainbr, trainlm, traingdx, trainscg, trainbfg. Till R2023b release solver name supported for training Deep learning Neural Networks are:
You may refer to documenation for more information: https://www.mathworks.com/help/deeplearning/ref/trainingoptions.html#mw_4f311de8-ad53-4201-ac1a-47f66e0de52d
Training function supported for shallow neural networks are given here: https://www.mathworks.com/help/deeplearning/ref/fitnet.html#bu2w2vc-1-trainFcn
Also, you may refer to file exchange for other optimization techniques from here: https://www.mathworks.com/matlabcentral/fileexchange/71069-gradient-descent-optimization
Thanks,
Ayush
2 comentarios
Ayush
el 1 de En. de 2024
Editada: Ayush
el 1 de En. de 2024
Hi @Muhammad Shoaib MATLAB built-in function trainingOptions will only expect the type of inputs specified in the documentation. However, if you want to define the custom network you may refer to the link: https://www.mathworks.com/help/deeplearning/ug/train-network-using-custom-training-loop.html
Más respuestas (0)
Ver también
Categorías
Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!