How to use multiple gpu on CGAN?

6 Ansichten (letzte 30 Tage)
Shaw
Shaw am 16 Okt. 2021
Beantwortet: Nagwa megahed am 24 Okt. 2021
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?

Antworten (2)

Joss Knight
Joss Knight am 24 Okt. 2021
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
Nagwa megahed am 24 Okt. 2021
Firstly, you should install parallel computing toolbox
secondly ,try the code in this package Matlab-GAN

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by