Azzera filtri
Azzera filtri

How to train "timedelaynet" using "trainNetwork" function in Deep Learning Toolbox?

1 visualizzazione (ultimi 30 giorni)
I have build a Time delay neural network and I wanna avoid use "train" function, and I want to train it using "trainNetwork" function to be able to use 'Adam' optimizer. is it possible ? If yes, How?

Risposte (1)

Varun Sai Alaparthi
Varun Sai Alaparthi il 21 Ott 2022
Modificato: Varun Sai Alaparthi il 21 Ott 2022
Hello Abdelwahab,
As of now it is not possible to train ‘timedelaynet’ using ‘trainNetwork’. If you are interested in using ‘trainNetwork, it might be better to model your data using ‘LSTM’ or ‘GRU’ networks which are supported by ‘trainNetwork’.
Please refer to this link for examples on time series analysis using our deep learning API:
Other possible work around to use ‘trainNetwork would be to design custom training loop for ‘timedelaynetand use ‘Adam’ optimiser in the training.
Please refer to this link for example on custom training loop:


Community Treasure Hunt

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

Start Hunting!

Translated by