How to train "timedelaynet" using "trainNetwork" function in Deep Learning Toolbox?
2 次查看(过去 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?
0 个评论
回答(1 个)
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 ‘timedelaynet’ and use ‘Adam’ optimiser in the training.
Please refer to this link for example on custom training loop:
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Parallel and Cloud 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!