Comments (3)
Hi! In reading your code, I found a detail that may not correspond to the paper. This detail is insignificant, but if possible, I still want to know if you have unique thinking.
Specifically, in '.\styleGAN2_ada_model\stylegan2_ada_generator.py', near line 384,
the [7-17] layers (starting from 0) of the edited W + are replaced by the original W +. That is, only the first 7 layers of W + are ''obviously'' manipulated.
Is this inconsistent with the first 8 layers of change mentioned in the paper, or do I make a low-level code understanding mistake?
Again, this is insignificant. I just want to know if you have a unique understanding and whether the open-source pre-trained HairMapper is also trained in this way.
Sorry for the inaccurate parameter in code.
In fact, the author of stylegan divide the 18 layers of latent code into 3 level: [0,4) for coarse (high-level aspects such as pose, hairstyle, face shape ....), [4,8) for the middle (smaller scale facial features) and [8-18) for fine (mainly the color scheme and microstructure). More details can be found in "A Style-Based Generator Architecture for Generative Adversarial Networks", page 4.
So that in paper, we propose to manipulate the first 8 layers (coarse and middle), and preserve the fine styles.
from hairmapper.
Moreover, I think manipulating the first 8 layers or 7 layers won't affect the results too much, because such a separation (coarse, middle and fine) is not so strict.
(As you can see in our pre-trained model, most of the fine styles are preserved.)
from hairmapper.
I understood, thank you for your reply.
from hairmapper.
Related Issues (20)
- Is it possible to provide online demo or obtain test results by https request? HOT 1
- more about blending the clean face with some hairstyle templates HOT 6
- How to blend other hair style? HOT 2
- About the latent space of stylegan2 and stylegan2-ada. HOT 7
- Bald should work on full image HOT 9
- Color cast in the result images HOT 4
- AssertionError : Stylegan_ada HOT 2
- Output Color is changed HOT 7
- Resize error for face parsing mask HOT 3
- Results on horizontal flipped images HOT 3
- Running Mapper on Batches HOT 4
- id_loss is not active HOT 2
- Which model is being used to test 3D face reconstruction result HOT 2
- How to test other images? HOT 2
- Very Important Issue - Leftover hair after using align image code. How can i train even if i imcrease more croppin area till chest level so that neck, cloth, shoulder get good Reconstruction? HOT 5
- What about beard? HOT 16
- How is the file StyleGAN2-ada-Generator.pth generated? HOT 9
- About loss hair and loss face different from paper
- About video hair removing HOT 1
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 hairmapper.