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 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!