Coder Social home page Coder Social logo

SpectralNorm about progressive-gan-pytorch HOT 6 OPEN

rosinality avatar rosinality commented on July 17, 2024
SpectralNorm

from progressive-gan-pytorch.

Comments (6)

rosinality avatar rosinality commented on July 17, 2024 1

Hello,

I remember that it was similar to use Spectral Normalization with hinge loss versus WGAN loss with gradient penalty. But I didn't tested it extensibly and measured scores like FID.

Recently I tried Spectral Normalization with Self-Attention GAN. It stablizes training and fast, but it seems like that it penalizes discriminator quite a bit. So it was hard to use 1:1 training schedules with Spectral Norm as in Progressive GAN paper. (It seems like that it is quite dependent on model structure, even when Spectral Norm is applied on both generator and discriminator.)

Anyway I will try more on using Spectral Norm with Progressive GAN. I hope I can share more results soon.

Thank you!

from progressive-gan-pytorch.

YoelShoshan avatar YoelShoshan commented on July 17, 2024

Thanks for the detailed answer!

I was actually hoping that, as the paper claims, there will be no need for spectral normalization or gradient penalty, due to the usage of pixel norm, LR "equalization", and the simplified minibatch statistics method.

I think I'll try to reproduce their results as well, to get a good feeling of the topic.

from progressive-gan-pytorch.

rosinality avatar rosinality commented on July 17, 2024

Actually they have used gradient penalty. You can also refer to their reference implementation.

from progressive-gan-pytorch.

YoelShoshan avatar YoelShoshan commented on July 17, 2024

oh, I was not aware of that.

note - I mostly looked at the original theano implementation, as it was the one that generated the results they demonstrated, but failed to spot there gradient penalty:

https://github.com/tkarras/progressive_growing_of_gans/tree/original-theano-version

from progressive-gan-pytorch.

rosinality avatar rosinality commented on July 17, 2024

Seems like that it is in here: https://github.com/tkarras/progressive_growing_of_gans/blob/original-theano-version/train.py#L336

from progressive-gan-pytorch.

YoelShoshan avatar YoelShoshan commented on July 17, 2024

Yes, you are correct.
Sorry, misinterpreted the code - thanks! :)

from progressive-gan-pytorch.

Related Issues (10)

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.