Error Message: Brace indexing is not supported for variables of this type. during TrainNetwork
2 ビュー (過去 30 日間)
古いコメントを表示
Hello Community!
For my Master Thesis I'm currently training a neural network to classify fNIRS Data.
When I'm executing a single thread to check my code, everything works just fine. But when I wanted to run my entire program, Matlab threw an error:
Brace indexing is not supported for variables of this type.
What I'm trying to do is using spmd to spread the workload over 4 workers. The entire project includes multiple analyses, not just the Neural Net, and it's being separated by multiple test subjects, so multithreading is a viable solution.
A single thread is utilizing my GPU (GTX 980 Ti) at ~6% with ~1.2GB of VRAM usage (6GB available). So I thought enough rescources are available to train 4 networks in parallel.
Is that the issue? Does Matlab simply not allow to use multiple instances on a single device?
Best wishes
0 件のコメント
回答 (1 件)
Joss Knight
2021 年 10 月 8 日
You can definitely use your GPU on multiple MATLAB workers in an SPMD block. You should show your code, looks like you have a syntax error somewhere.
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!