How to use multiple gpu on CGAN?

조회 수: 2 (최근 30일)
Shaw
Shaw 2021년 10월 16일
답변: Nagwa megahed 2021년 10월 24일
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?

답변 (2개)

Joss Knight
Joss Knight 2021년 10월 24일
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 2021년 10월 24일
Firstly, you should install parallel computing toolbox
secondly ,try the code in this package Matlab-GAN

카테고리

Help CenterFile Exchange에서 GPU Computing에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by