Matlab does not currently support Generative Adversarial Neural Networks
Afficher commentaires plus anciens
I searched a lot to see if Matlab supports GAN but unfortunately it does not. I just found deconvolution layer. does anybody know how I can use that for designing a GAN. I am gonna integrate a GAN block within a DAG network and I am not sure if it is possible. I found also another open source lib 'MatConvNet'. is is possible to use it within DAG? Thank you very much I hope it is not wasting time working on deep learning with Matlab.
web address of DAG : https://blogs.mathworks.com/deep-learning/2018/03/19/creating-a-dag-network-from-dag-parts/
9 commentaires
Walter Roberson
le 21 Avr 2018
Did you have a look at https://github.com/layumi/2016_GAN_Matlab
ashkan dashtban
le 21 Avr 2018
Modifié(e) : Walter Roberson
le 21 Avr 2018
Walter Roberson
le 22 Avr 2018
Those software products are not compatible. You will not be able to combine them.
Jack Xiao
le 13 Juil 2018
so how to fulfill GAN in matlab? can not the official deep learning tool box of matlab support it?
Walter Roberson
le 13 Juil 2018
I posted a link to GAN in MATLAB above.
However you cannot combine that GAN software with MATLAB's Deep Learning routines, and you cannot combine that GAN software with matconvnet .
Jack Xiao
le 13 Juil 2018
yes, you are right. but here I want to know how to fulfill GAN with official deep learning tool box of matlab but not matconvnet?
Walter Roberson
le 13 Juil 2018
Generative Adversarial Neural Networks are not available in any Mathworks product. They are not supported by the Neural Network toolbox.
Walter Roberson
le 18 Juil 2018
ashkan dashtban comments to me:
Exactly and we hopefuly expect it to be available in near future!
Kenta
le 15 Mai 2020
As of now, some kinds of GAN such as conditional GAN are available.
For example, https://jp.mathworks.com/matlabcentral/fileexchange/75441-conditional-gan-and-cnn-classification-with-fashion-mnist

Réponse acceptée
Plus de réponses (6)
Shounak Mitra
le 6 Juin 2019
3 votes
In the next release, we're going to provide some flexbilities to design advanced networks such as GANs, Siamese Networks etc. Hang on :)
2 commentaires
ashkan dashtban
le 8 Juin 2019
Shounak Mitra
le 10 Juin 2019
Great feedback. We're working on that too.
KH TOHIDUL ISLAM
le 19 Sep 2019
1 vote
It is avilabel now, please check this out. Train Generative Adversarial Network (GAN)
2 commentaires
Atallah Baydoun
le 19 Sep 2019
Yep, It was the first thing I checked when I got the email about Matlab 2019 b.
Thanks!
Atallah Baydoun
le 7 Nov 2019
How extensible is the current model to 3D ?
Atallah Baydoun
le 7 Juin 2019
0 votes
Thanks Mitra for the info.
But when is the next release going to be ?
5 commentaires
Eric
le 7 Juin 2019
Going back to R2011b, all "b" releases except one have come out in September. The exception was 2014b, which was October 3. Hence September 2019 is a reasonable estimate.
Shounak Mitra
le 7 Juin 2019
Eric is correct! It is planned for September at this point.
What kind of GANs are you interested in?
Atallah Baydoun
le 7 Juin 2019
I am basically interested in DCGAN and cGAN. Will these types be supported ?
Shounak Mitra
le 10 Juin 2019
Let's think of it in terms of what important features you need to create GANs - autodifferentiation, custom training loops, and may be custom layers too (if you're curious!). All those things are planned to be supported. And of course, the deep learning layer support will be there.
Atallah Baydoun
le 10 Juin 2019
Hopefully then Matlab will include an example on GAN generation also.
Wonho Song
le 28 Mai 2020
0 votes
Hello.
Thanks for these nice codes.
Normally we do have checkpoints and model to save to a file.
- I want to know how to save the model.Is it good to save the paramGen and paramDis? and if it is then how to use as a model.
- 2 .And also I want to know how to test pix2pix.m to a specific image file.Thanks in advance.
1 commentaire
Atallah Baydoun
le 28 Mai 2020
Hey Wonho,
I ended up by using pix2pix from this link.
https://www.mathworks.com/matlabcentral/fileexchange/74779-pix2pix
It automatically saves the model. You can se from the link that many troubleshooting issues were resolved.
David Willingham
le 27 Août 2020
0 votes
Since R2019b, MATLAB has supported the implementation of GAN's.
Regards,
David Willingham
Deep Learning Product Manager, MathWorks
anbarasi l
le 30 Nov 2022
0 votes
MATLAB has supported the implementation of CGAN.
You can find information on this in the below link
Train Conditional Generative Adversarial Network (CGAN)
https://in.mathworks.com/help/deeplearning/ug/train-conditional-generative-adversarial-network.html
Catégories
En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!