Giter Club home page Giter Club logo

gan's People

Contributors

tntrung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gan's Issues

how to generate new data after fit(data)?

In 1D demo , after model = GAN(...).fit(data)
how can I use this model to generate new data?
I have try to feed z to model._create_generator(z) but I got
AttributeError: 'numpy.ndarray' object has no attribute 'get_shape'

about lambda_w

hello guys,
correct me if i'm wrong.
in the paper, you have f(x,G(z)) and lambda_w = sqrt(dim_z/dim_x)
but i glanced at the code, you guys used features of x and G(z). should lambda_w be fixed to
lambda_w = sqrt(dim_z/dim_ft_of_x)?
thank you!

f(x, G(z)) computation

Hi, Trung,

In gaan.py,
self.md_x = tf.reduce_mean(self.f_recon - self.f_fake)
According to Eq. (7) in your paper, maybe
self.md_x = tf.reduce_mean(self.f_real - self.f_fake)

Is it correct?
Thanks,
Sungwoong.

gradient penalty computation

Hi, Ngoc-Trung,

Thanks for your code sharing.
I have a question regarding a computation of gradient penalty in your code.

In gaan.py,
epsilon = tf.random_uniform(shape=tf.shape(self.X), minval=0., maxval=1.)

I think for the convex combination for each sample (same epsilon should be applied to all dims in each sample),
epsilon = tf.random_uniform(shape=[tf.shape(self.X)[0],1], minval=0., maxval=1.)

Is it correct?

Thanks,
Sungwoong.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.