-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Training a cGAN on MNIST #190
Comments
Hi. Did you find a solution? I too would like to have a custom eval backbone, care to share your code? |
Hi, unfortunately I didn't manage to get it to work yet but essentially what I did was to manually append an As for the custom eval backbone, I trained a small ResNet18 on MNIST and then edited the I didn't fork the project and did all of the edits on-the-fly on a private repository so I'm afraid I can't share any source code at this moment but I hope my explanations suffice. If you manage to get this to work some other way I'd appreciate it if you shared your method here as well. |
Thanks for this! And I will try to see what its about. |
Hi, I hope your day is going well.
I would to ask whether or not it is possible to train a cGAN on MNIST using the StudioGAN framework. I have modified the code to allow for single-channel images and I'm using a pre-resizer to get the 28x28 images up to 32x32 so that I can feed them into present model configurations on StudioGAN, I have also introduced a new ResNet18 eval backbone that was pretrained on MNIST to obtain meaningful IS/FID metrics.
However, it does not seem like I'm able to get any form cGAN (ReACGAN and ADCGAN specifically but I've also tried WGAN-DRA as a sanity check) to work on MNIST. The generator seems to fall behind extremely quickly and doesn't seem to ever catch up again. Favoring the generator in the number of updates per step against the discriminator (by setting
d_updates_per_step
to 1 andg_updates_per_step
to a number greater than 1) doesn't seem to solve the issue.I would really appreciate some insight on this. If any more information is required of me, I'd be happy to oblige.
The text was updated successfully, but these errors were encountered: