Compiled script for parallel neural network training
1 回表示 (過去 30 日間)
古いコメントを表示
When I run a script to train a neural network from within the MATLAB enviroment using Parallel Computing Toolbox, training is performed using parallel MEX workers. If I generate (using MATLAB Compiler) and run a standalone application from the exact same script, the training is performed in MATLAB calculation mode on a single worker.
In both cases the parallel pool is opened and closed by the script, so there is definitely a parallel pool open. The MATLAB documentation indicates that the relevant functionality from both the Neural Network Toolbox, as well as the Parallel Computing Toolbox, are available in Compiler. How do I get the training to occur in parallel, in a compiled script?
Update : I have found out that the issue described above occurs with R2017b, but not with R2018a. In the latter case all workers are fully utilised during training.
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Deep Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!