Error Message: Brace indexing is not supported for variables of this type. during TrainNetwork
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Joss Knight
il 8 Ott 2021
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 Commenti
Vedere anche
Categorie
Scopri di più su Deep Learning Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!