-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bald should work on full image #9
Comments
Hi John, In sum, if you want to work on full-body images, you need to: Good luck! |
Can't find the attached rar file :) |
Sorry for the missing file! Please find it here: https://drive.google.com/file/d/1O618iXND-iQfRrgI_BkUnJqbvD6o-5V_/view?usp=sharing |
Thanks @oneThousand1000 |
Hi, There! I have a question. I find that if the original image is a side face picture, the crop window calculated by the align function is often too small to include the whole head. Is there any ways to enlarge the window? Or what other ways may be useful to improve this phenomenon? |
Hi, the valid face region of pretrained StyleGAN is fixed, so the window can not be enlarged, unless you retrain the StyleGAN model with a larger-window dataset (compared to FFHQ). Or you can simply paste the result to the full-head side face picture using the code I uploaded. |
Thanks very much for your quick reply! I have used your code and your code works well. However, due to the size of the crop window, after pasting it may cause some hair cannot be removed : So, if I hope to deal with the part not included in the crop window, the only way is to retrain the StyleGAN and HairMapper ,right ? (Oh it seems hard) |
Yes, you're right! This is one of the limitations of our paper and still a challenging problem of many StyleGAN-based methods. Maybe you can try to use the [StyleGAN3 pre-trained models (https://ngc.nvidia.com/catalog/models/nvidia:research:stylegan3) for config T (translation equiv.) and config R (translation and rotation equiv.). If you can use StyleGAN3 and apply translation and rotation to get a full-head side face image, you will hopefully retrain HairMapper on it and remove hair from the side face completely. |
Okay, Thank you very much for your detailed reply! Your work is very well! fei chang gan xie xue jie ! |
Hi, There!
Could you let me know how to make workable for bald on full image?
Thankyou.
The text was updated successfully, but these errors were encountered: