Comments (3)
Hi @tanisha605,
You will have to use a specific GAN for this action. For example StyleGAN-XL or StyleGAN-Human.
The facial pretrained GAN assumes the facial image is aligned and only looks at the face.
Of course you could always incorporate the edited facial image to the original image as they do in STIT
from pti.
@danielroich Can you give some code example how to change the GAN model?
Or just replace this in https://github.com/danielroich/PTI/blob/main/notebooks/inference_playground.ipynb
from pti.
It is more complicated. "Full" (human body) image required usage of StyleGAN_Human model what has proportion 2:1 instead 1:1 of face FFHQ model. Moreover StyleGAN_Human has num_ws=16 instead FFHQ num_ws=18. Sadly modification direction (age, smile, rotation) also has dimension of 18. Summary: this (original) PTI project do not support full body human image inversion and modification. For inversion use PTI fork from StyleGAN_Human project. For modification... i am do not know. I am want advice myself.
from pti.
Related Issues (20)
- every image need 127M checkpoint
- The more smile, the more black HOT 5
- How did you find the directions? HOT 1
- Unexpected size of W features in generated_images = self.G.synthesis(w, noise_mode='const', force_fp32=True) HOT 2
- opt multi image one time? HOT 1
- The input parameters of the Generator HOT 1
- checkpoint HOT 3
- SG and SG2 issue HOT 2
- GPU error HOT 1
- Effect of lpips type HOT 1
- run_pit: assert target.shape == (G.img_channels, G.img_resolution, G.img_resolution) HOT 3
- [question] What kind of pre-processing would a model that doesn't generate faces require? HOT 1
- How can i get "car images " w_pivot?
- Applying PTI to other non style-GAN generators
- Failed to run 512x512 images
- How to improve the invert image to be more similar to the input image? HOT 1
- May I ask how the pt file for editing attributes was obtained?
- insetGan+PTI?
- Can I run it on Windows?
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 pti.