Generative adversarial network #2593
Unanswered
wangjiawen2013
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Training GANs requires training a generator and a discriminator, with one optimizer for each. This is a bit more complex than the typical training loop implemented by the learner so you would have to roll with your own training loop 🙂 |
Beta Was this translation helpful? Give feedback.
1 reply
-
Here is the training process of pytorch wgan, it worked as expected: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am working on a GAN recently like this:
In each epoch, I must train the discriminator for many times and then the generator for one time. I find it's hard to implement GAN using
learnerbuilder
similar to the code in burn example:Does
learnerbuilder
applies only to simple network ? Do I need to write customized loss function and customized training loop ?Beta Was this translation helpful? Give feedback.
All reactions