-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
a question about gcgan network #3
Comments
Hi, thanks! I'm assuming you're referring to DCGAN? If so hopefully all you need to do is change: |
oh yeah dcgan, yes the network works, thanks a lot for your help~~ |
the input dimension for cifar (32) is different from mnist (28), how can it be changed to generate that size? |
Change |
thanks for the reply. |
Yeah, that is correct. Change these lines: |
is there a formula to calculate the layer dimension given an arbitrary input image size? what reference/paper do you use to implement the network? |
A suggestion I often see is to start with a shallow network, get something that works and then expand on that. There is no recipe when it comes to building the network's architecture that guarantees good results though, and it's extra tricky when it comes to GANs. For this example I build the network based of the architecture in the paper and some experimentation. I can recommend this page: https://github.com/soumith/ganhacks (from one of the authors of DCGAN). |
thanks for the guide, very helpful. agree on starting with shallow ones that could fit the data first. |
hello,Erik, thanks for your sharing of these kinds of GAN, and I wonder if my data is 3 channel color images like cifar, how to apply it, for if I just change the size and channel it arise an error 'number of input channels does not match corresponding dimension of filter, 1 != 3'
The text was updated successfully, but these errors were encountered: