Giter Site home page Giter Site logo

Comments (9)

omertov avatar omertov commented on July 23, 2024 3

Hi @tearscoco!
As @yuval-alaluf mentioned, this repository builds upon the pSp repository's project structure and training management.

I have added a section to the README explaining the required steps to train the encoder on your own dataset, see here.

from encoder4editing.

tearscoco avatar tearscoco commented on July 23, 2024 2

Thank you @yuval-alaluf and @omertov for your quick responses, I've obtained the desired results from my own training data.
image

If I wanna get consistent edit of my images, should I get the latent code first and let it go through the editing direction checkpoint (ex. obtained from styleGAN2 factorization)?

from encoder4editing.

zxy2020 avatar zxy2020 commented on July 23, 2024 2

Thank you @yuval-alaluf and @omertov for your quick responses, I've obtained the desired results from my own training data. image

If I wanna get consistent edit of my images, should I get the latent code first and let it go through the editing direction checkpoint (ex. obtained from styleGAN2 factorization)?

Excuse me, what is the number of pictures in your custom dataset to get such a result?
打扰下,请问得到您这样的结果,你用了多少张自己图片去训练。

from encoder4editing.

yuval-alaluf avatar yuval-alaluf commented on July 23, 2024 1

Hi @tearscoco ,
The code design for e4e is very similar to that of pixel2style2pixel. Therefore, to train the e4e encoder on your own data, you can refer to the instructions provided in the pSp repo. Please let us know if you need more clarifications.

@omertov , do you think it would be helpful to add a similar Preparing your Data section to this repo?

from encoder4editing.

yuval-alaluf avatar yuval-alaluf commented on July 23, 2024 1

@yuval-alaluf one more question! I found that the code is run with a single GPU and there was no setting for distribution options. Is it possible to use multiple GPUs and accelarate the training process?

Please see the following issue in the pixel2style2pixel repo: eladrich/pixel2style2pixel#27

from encoder4editing.

yuval-alaluf avatar yuval-alaluf commented on July 23, 2024 1

If I wanna get consistent edit of my images, should I get the latent code first and let it go through the editing direction checkpoint (ex. obtained from styleGAN2 factorization)?

Exactly. You can run inference using the provided script to extract the image latents. Then, you can use the provided editing scripts to learn edit directions (e.g., using SeFa)

from encoder4editing.

tearscoco avatar tearscoco commented on July 23, 2024

Thanks, guys! It really helps a lot!

from encoder4editing.

tearscoco avatar tearscoco commented on July 23, 2024

@yuval-alaluf one more question! I found that the code is run with a single GPU and there was no setting for distribution options. Is it possible to use multiple GPUs and accelarate the training process?

from encoder4editing.

mmiaz avatar mmiaz commented on July 23, 2024

@tearscoco Hi, i am working on similar apparel dataset, did you train your own styleGAN first and use e4e to do the latent code encoder training? Thanks!

from encoder4editing.

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.