I get an error when I set " 'execution​Environmen​t','parall​el' " using LSTM layer

3 views (last 30 days)
I'm trying to train my network using the 31 workers I have on my local station (CPUs). Whenever I set the training option, "ExecutionEnvironment','Auto'"; I get this error: parallel does not support LSTM layer. I use LSTM layer in my network. Is there anyway to run the training job faster if I'm using LSTM layer ?

Answers (1)

Madhav Thakker
Madhav Thakker on 29 Dec 2020
Hi Ammar,
Using multiple workers are not yet supported for LSTMs or recurrent networks. Unfortunately, there is no workaround for training recurrent neural networks like LSTM in parallel. The developers are aware of this behaviour and will try to provide a workaround in future releases.
Hope this helps.

Community Treasure Hunt

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

Start Hunting!