Comments (9)
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.
Thank you @yuval-alaluf and @omertov for your quick responses, I've obtained the desired results from my own training data.
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.
Thank you @yuval-alaluf and @omertov for your quick responses, I've obtained the desired results from my own training data.
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.
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 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.
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.
Thanks, guys! It really helps a lot!
from encoder4editing.
@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.
@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)
- is it possible to fine tune? HOT 2
- Resume training for cars
- How much time did it take to train on FFHQ? HOT 5
- Inference with sample size >1 fails HOT 1
- How to get figure 2 HOT 1
- Error while running inference.py HOT 2
- Training e4e for 512*256 stylegan HOT 2
- Regarding finding directions in W+ space
- Is released ffhq e4e model trained by inversion task? HOT 1
- whether the code is wrong?
- Stuck on Iteration_0
- Model parameters at other resolutions HOT 2
- How do I train an encoder with a resolution of 256*256 on the FFHQ dataset? HOT 1
- There is a problem with the pre-training weights
- Can I train an encoder using your e4e frame work on a StyleGAN2-ADA pretrained on my own dataset?
- Can I use my own pretrained StyleGAN2-ADA? HOT 1
- Is it possible to get more details in the images?
- is it possible to run this code for gender swap operations ?
- Is it possible to train the encoder which is segmap to face?
- Suggestions on training an encoder on FFHQ-256
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from encoder4editing.