Coder Social home page Coder Social logo

Custom image editing about anycost-gan HOT 3 CLOSED

mit-han-lab avatar mit-han-lab commented on May 20, 2024
Custom image editing

from anycost-gan.

Comments (3)

tonylins avatar tonylins commented on May 20, 2024 2

Hi,

  1. To project a custom image, you can first perform face alignment using tools/align_face.py, and then use tools/project.py to project the image into the latent space.
  2. Yes, you can use any of the 40 attributes by setting
    direction_map = {
    . Notice that some attributes may not lead to good editing results.

from anycost-gan.

zhanghongyong123456 avatar zhanghongyong123456 commented on May 20, 2024

First,Thank you very much for your prompt reply. Yes, I tried all the attribute edits and some of them didn't work as well as they should.In addition, I have a puzzle about which of the three models is more realistic for the generation of latent code,In fact, I can only use two models to generate latent code, {anycost-car-config-f and anycost-ffhq-config-f}, Some time ago I tried using StyleGan 2 to get a hidden code generation of actual images, but the resulting images were too unreal

from anycost-gan.

tonylins avatar tonylins commented on May 20, 2024

Hi, we do not have a very solid benchmark about the image reversion part, since it is not the focus in this paper. However, we do notice that the FFHQ dataset (faces) is easier to project, while the car dataset is more difficult. You can also refer to some other work that specifically studies the image projection process.

I will close the issue for now. Feel free to reopen.

from anycost-gan.

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.