-
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
Change dataset with image size not 28*28, Can't train it. #33
Comments
In case you're using the gan_rgb.py code, change this line as well.
|
Thank you, but i have use ccgan and dcgan. How could I fix in those files. |
Hi. For DCGAN you'll need to change: model.add(Dense(128 * 7 * 7, activation="relu", input_shape=(self.latent_dim,)))
model.add(Reshape((7, 7, 128))) to model.add(Dense(128 * 8 * 8, activation="relu", input_shape=(self.latent_dim,)))
model.add(Reshape((8, 8, 128))) |
Keras-GAN/aae/adversarial_autoencoder.py |
Use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I change dataset form mnist to cifar10(with images 32323), and changed code as:
The text was updated successfully, but these errors were encountered: