Can I train closed-loop time-series network in parallel?

4 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2018 年 12 月 6 日
回答済み: MathWorks Support Team 2019 年 1 月 9 日
I have implemented a NARX recurrent neural network.
I have implemented it first as an open loop network, and then train it using the parallel computing capability. This works as expected.
However, when I try to use the parallel computing capability to train my net as a closed-loop, my computer hangs indefinitely.

採用された回答

MathWorks Support Team
MathWorks Support Team 2018 年 12 月 6 日
Note that parallelism happens across samples, or in the case of time series across different series. However, if the network has only input delays, with no layer delays, the delayed inputs can be precalculated so that for the purposes of computation, the time steps become different samples and can be parallelized. This is the case for networks such as "timedelaynet" and open-loop versions of "narxnet" and "narnet".
If a network has layer delays, then time cannot be 'flattened' for purposes of computation, and so single series data cannot be parallelized. This is the case for networks such as "layrecnet" and closed-loop versions of "narxnet" and "narnet". However, if the data consists of multiple sequences, it can be parallelized across the separate sequences.
See this documentation page for more information:

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by