Git Product home page Git Product logo

Comments (7)

EncodeTS avatar EncodeTS commented on May 25, 2024

I meet the same problem,it just can't converge.
But the picture in the samples folder are getting more and more clear.

from dcgan-tensorflow.

ppwwyyxx avatar ppwwyyxx commented on May 25, 2024

for GAN, however, convergence is likely an indication of failure...

from dcgan-tensorflow.

carpedm20 avatar carpedm20 commented on May 25, 2024

I suggest you not to use my code as experiments but just a reference. This code is one of my earliest practice (a year ago) with TensorFlow and now there are "too" many good papers and its implementation in generative model fields which published and open-sourced after DCGAN.

But @kaihuchen showed that this code still can make some promising results like #56.

from dcgan-tensorflow.

auroua avatar auroua commented on May 25, 2024

What's the algorithms used to generate MNIST digitals? I found a lot of source programs using label information, that original paper not contains.

            h0 = tf.nn.relu(self.g_bn0(linear(z, self.gfc_dim, 'g_h0_lin')))
            h0 = tf.concat(1, [h0, y])

            h1 = tf.nn.relu(self.g_bn1(linear(h0, self.gf_dim*2*s4*s4, 'g_h1_lin')))
            h1 = tf.reshape(h1, [self.batch_size, s4, s4, self.gf_dim * 2])

from dcgan-tensorflow.

zhangqianhui avatar zhangqianhui commented on May 25, 2024

@auroua Yes , just like "conditional adversarial networks"
Adding label to training data will makes result realistic in general.

from dcgan-tensorflow.

zhangqianhui avatar zhangqianhui commented on May 25, 2024

the loss just bounced around 1.3/0.7 means "converge" in my experiments.

from dcgan-tensorflow.

kaihuchen avatar kaihuchen commented on May 25, 2024

Recently I did a whole bunch of experiments using cGAN, such a getting it to convert from black-and-white portraits to color ones, learning monocular depth perception, or performing image operations such as erasing the background. But eventually I ran into problem when trying to use cGAN's z vector as a neural image model, which I intend to apply to videos. The problem I had with cGAN is that its U-Net architecture is great for image-to-image mapping, but it also weakens the z vector as a latent representation. So for this purpose I think I need to go back to use DCGAN instead. Just want to point out here that DCGAN is by no means obsolete.

from dcgan-tensorflow.

Related Issues (20)

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.