How to use multiple gpu on CGAN?
조회 수: 2 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
답변 (2개)
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
댓글 수: 0
Nagwa megahed
2021년 10월 24일
Firstly, you should install parallel computing toolbox
secondly ,try the code in this package Matlab-GAN
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 GPU Computing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!