zackory / keras-mnist-gan Goto Github PK
View Code? Open in Web Editor NEWSimple Generative Adversarial Networks for MNIST data with Keras.
License: MIT License
Simple Generative Adversarial Networks for MNIST data with Keras.
License: MIT License
please if possible add requirements.txt with all dependencies. right now I'm trying with Keras 2 and Keras 1 - both cases throw errors
According to the paper, Shouldn't loss of discriminator be log(D(x))+ log(1-D(G(z))
And generator be log(1-D(G(z))
so why the loss in both cases is xlog(x) + (1-x)(log(1-x) i.e binary_crossentropy
If they are equivalent then can you show how??
15 from keras import initializers
16
---> 17 K.set_image_dim_ordering('th')
18
19 # The dimensionality has been set at 100 for consistency with other GAN implementations.
AttributeError: module 'keras.backend' has no attribute 'set_image_dim_ordering'
Hi, Erickson. I found that there may be a problem in your code, you used "discriminator.trainable = False" to freeze the discriminator model, but I found that the model must be recompiled to freeze it .
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.