How to use multiple gpu on CGAN?
Mostrar comentarios más antiguos
I have used the code provided on mathworks website.
" openExample('nnet/TrainConditionalGenerativeAdversarialNetworkCGANExample')"
It seems, though I have 2GPU's, the program is using only one GPU. How to use multi GPU on this program?
Where should I start the loop for sgmd?
Respuestas (2)
Joss Knight
el 24 de Oct. de 2021
0 votos
SPMD wraps the whole epoch loop. After you open it you partition the data and then start looping. See https://uk.mathworks.com/help/deeplearning/ug/train-network-in-parallel-with-custom-training-loop.html
Nagwa megahed
el 24 de Oct. de 2021
0 votos
Firstly, you should install parallel computing toolbox
secondly ,try the code in this package Matlab-GAN
Categorías
Más información sobre Parallel Computing Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!