Giter Club home page Giter Club logo

Comments (2)

ShenYujun avatar ShenYujun commented on September 25, 2024 2
  1. There are two major differences, i.e. domain-guided encoder and domain-regularized optimization. (a) stylegan-encoder does not actually have an encoder to map a given image back to the latent space. By contrast, our encoder provides a much better initialization. (b) We also involve the encoder in the optimization process as a regularizer, to ensure the code to be in-domain. BTW, Image2StyleGAN, instead of this repo, is much like stylegan-encoder (They use exactly the same process, and the only difference is the loss function). As for your mentioned "conducting the same thing", I think all GAN inversion approaches do the same thing, which is to recover the input image with latent code(s). Differently, we raise the problem of exploring the semantic property of the inverted codes. This distinguishes our work from existing work.

  2. We explain this in the paper. You are right that it is the domain-guided encoder to ensure the semantic property. The intuitive explanation is the training manner of the encoder. During the encoder training, we will feed the output of the encoder back into the generator to synthesize a photo-realistic image. In this way, if the code does not land inside the original latent space, the synthesis quality will suffer. Alternatively, the code should align with the semantic knowledge learned by the generator for image synthesis. That is what we call in-domain. Fig.3 in the paper also demonstrates this point. To maintain the code to be semantically meaningful, we also involve the encoder in the instance-level optimization. The demo video shows the superiority of our approach over the optimization-based method (like stylegan-encoder and Image2StyleGAN). With the help of the domain-guided encoder, the inverted code is more manipulable.

from idinvert.

ShenYujun avatar ShenYujun commented on September 25, 2024

BTW, we have another work I think you may have interests in. That work proposes a different optimization-based pipeline by composing multiple latent codes for a single image.

from idinvert.

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.