Parallel computing in Neural Networks is not using all the Workers in Matlab 2015b
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hugo Mendonça
el 27 de Nov. de 2015
Comentada: Hugo Mendonça
el 17 de Oct. de 2017
Hi everyone!
I am using a Time Delay Neural Network that takes a long time to be trained. So, I have used parallel processing and the training time had a great decrease.
The curious thing is that when using Matlab 2015a the parallel processing works all the workers:
pool = parpool;
tdnn = train(tdnn,Xs,Ts,'useParallel','yes','showResources','yes');
The result is:
Starting parallel pool (parpool) using the 'local' profile ... connected to 4 workers.
Computing Resources:
Parallel Workers:
Worker 1 on MBP-de-Hugo, MATLAB on MACI64
Worker 2 on MBP-de-Hugo, MATLAB on MACI64
Worker 3 on MBP-de-Hugo, MATLAB on MACI64
Worker 4 on MBP-de-Hugo, MATLAB on MACI64
However, when using the same code in Matlab 2015b, just one worker is used:
Starting parallel pool (parpool) using the 'local' profile ... connected to 4 workers.
Computing Resources:
Parallel Workers:
Worker 1 on MBP-de-Hugo, MEX on MACI64
Worker 2 on MBP-de-Hugo, Unused
Worker 3 on MBP-de-Hugo, Unused
Worker 4 on MBP-de-Hugo, Unused
How to use the others Workers in Matlab 2015b?
Thanks in advance!
0 comentarios
Respuesta aceptada
Tushar Athawale
el 5 de En. de 2016
This is a bug in the "train" function of the Neural Network toolbox in the way the time information of the timedelaynet is analyzed prior to sending to the workers, making it appear internally as though the network training cannot be parallelized.
This behavior is a side-effect of the following bug:
To work around this issue, please follow these instructions in the above link to apply the patch.
2 comentarios
orlem lima dos santos
el 26 de Abr. de 2016
hello I'm having the same problem but for matlab 2015a and the bugfix above is only for matlab 2015b
any suggestion?
Más respuestas (0)
Ver también
Categorías
Más información sobre Parallel Computing Fundamentals en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!