train neural network with useParallel=no doesn't work

5 ビュー (過去 30 日間)
kira
kira 2018 年 10 月 4 日
編集済み: kira 2018 年 10 月 5 日
Hello, I want to train several neural networks within a parfor loop. I tried with 'useParallel'='yes', but I get this warning:
Cannot perform computations on a parallel pool.
There is not an open parallel pool.
So I executed train command with 'useParallel'='no', option, but I still get the warning.
Why I'm getting this warning and how to avoid it?

回答 (1 件)

KSSV
KSSV 2018 年 10 月 5 日
set _usePArallel' to 'yes'.
  1 件のコメント
kira
kira 2018 年 10 月 5 日
we can't use Parallel inside a parfor loop. If fact, i received the warning when I tried, so I change to useParallel=no, but I still get the same warning, and that's why I'm asking. (I will add this to the question)

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeParallel Computing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by