Giter Club home page Giter Club logo

Comments (3)

albertpumarola avatar albertpumarola commented on July 24, 2024

Your are right, it is an error in the equation. I will update de arxiv. Thank you for pointing this out.

from ganimation.

ZHANG-SHI-CHANG avatar ZHANG-SHI-CHANG commented on July 24, 2024

Hi Albert, thanks for sharing your code.

In the paper, the fake image is generated by using the equation
.

While in the code, I find that the fake image is generated in a different way, which is
fake_imgs_masked = fake_img_mask * self._real_img + (1 - fake_img_mask) * fake_imgs,
refers to https://github.com/albertpumarola/GANimation/blob/master/models/ganimation.py#L228 and https://github.com/albertpumarola/GANimation/blob/master/models/ganimation.py#L275, so it should be

Would you please kindly clarify this? Thanks in advance.

兄弟,你复现实验的时候有没有遇到attention趋于1的问题,在我实验的过程中论文里的两个约束loss起不到作用,attention还是会趋于1

from ganimation.

albertpumarola avatar albertpumarola commented on July 24, 2024

If it is tending to 1, suposing that the dataset is correct, you can try augmenting the lambda of this constraint. Be careful tunning it, if you increase it too much A will tend to 0. When I was tunning it I was aiming for a lambda that constrained A around 0.5.

from ganimation.

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.