MATLAB Answers

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

6 views (last 30 days)
ammar Alali
ammar Alali on 29 Mar 2018
Answered: Madhav Thakker on 29 Dec 2020
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!