Giter VIP home page Giter VIP logo

Comments (4)

bryandlee avatar bryandlee commented on May 24, 2024

Hi, I added a script for the paired image generation. code

python generate_pair.py --sample 5

gives this:

sample

from freezeg.

SpartacusIn21 avatar SpartacusIn21 commented on May 24, 2024

Thank for your answer, your generate_pair.py script can generate pair data perfectly. But if I want to generate pair data from a specific picture, what can I do to achieve this goal? As metioned in question, I get latent vector by step 1, then generate face2art picture with face2met_10k.pt model(set input_is_latent=True), but the art picture is something wrong in style,to verify the correctness of latent vector, I use it to generate picture with 550000.pt model and the result is correct. I cann't find the diffrence between your script and mine, and why my face2art picture is wrong in style?(from left to right:ffhq picture/project picture/face2art picture)
imageimageimage

from freezeg.

bryandlee avatar bryandlee commented on May 24, 2024

I guess it's related to the domain of the latent code. Latent code obtained from the default projection method is not quite editable. You may want to use in-domain inversion methods or image2stylegan variants. Or you can try different latent codes for the finetuned layers as in gradio_app.py. In that way, you can explore the latent space and see what is going on.

from freezeg.

SpartacusIn21 avatar SpartacusIn21 commented on May 24, 2024

Thanks for your advice, I will try!

from freezeg.

Related Issues (14)

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.