Giter Club home page Giter Club logo

Comments (6)

shankarsivarajan avatar shankarsivarajan commented on August 16, 2024 4

These (also used here) seem to work well.

from pti.

danielroich avatar danielroich commented on August 16, 2024 2

Hey @molo32 ,
The reason why this does not work is because those boundaries were found based on StyleGAN1.
In this project we use StyleGAN2, which has a completely different latent space than StyleGAN1. Hence also different boundaries

The boundaries I have uploaded were trained on StyleGAN2, that's why they work

from pti.

danielroich avatar danielroich commented on August 16, 2024 1

Hey @JK737353
There are several ways to edit images using StyleGAN after the initial inversion done by PTI.
You can use directions from InterfaceGAN, GANSpace, Sefa, StyleCLIP, and many more amazing works.

Creating an editing direction on your own is a feasible task, nevertheless not an easy one. Therefore I would suggest searching for a framework from the ones I have mentioned above which manipulates the latent code to your desired need,
And if you don't find one, create one yourself using the InterfaceGAN framework for example

See https://github.com/orpatashnik/StyleCLIP or https://github.com/genforce/interfacegan for more information about editing frameworks

from pti.

danielroich avatar danielroich commented on August 16, 2024 1

Hey @molo32 ,
I personally do not possess any more editing directions for InterfaceGAN. You can try to create ones on your own.
See https://github.com/genforce/interfacegan for more details.

A different option would be to use other editing techniques - such as GanSPACE, SeFa, StyleFlow and StyleCLIP
Although I did not upload support for SeFa and StyleFlow, I have received messages from different users which combined the methods successfully

from pti.

molo32 avatar molo32 commented on August 16, 2024

hi danielroich, can you tell me where to find the interfacegan latents for gender and glasses, the repository only has age smile pose.

from pti.

molo32 avatar molo32 commented on August 16, 2024

try to use the boundary of ffhq that are in
https://github.com/genforce/interfacegan/tree/master/boundaries
i turned them npy into pt
but it seems that it does not work, it modifies the face but it does it very badly.
to go from npy to pt just use torch.load and np.load.
am i missing something?

from pti.

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.