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

5 次查看(过去 30 天)
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?

回答(1 个)

Varun Sai Alaparthi
Varun Sai Alaparthi 2022-10-21
编辑:Varun Sai Alaparthi 2022-10-21
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:

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by