faceswap-GAN icon indicating copy to clipboard operation
faceswap-GAN copied to clipboard

1 & a half day of training...

Open ZeroCool22 opened this issue 6 years ago • 4 comments

Why the new face looks so out of place? (i'm very glad with the color correction).

https://www.youtube.com/watch?v=sKhBkUVeFyQ

ZeroCool22 avatar Feb 12 '18 06:02 ZeroCool22

You can increase the coverage of bounding box. In section 13, def process_video(input_img), there are some hard coded values for ROI adjustment: h//15 and w//15. To increase the coverage, we simply flip the positive/negative sign before w//15 and h//15. e.g., x0+h//15 becomes x0-h//15 and so on.

But be careful, don't modify the w//15 and h//15 in def get_mask(roi_image, h, w).

I'm working on a more elegant method to address the out of place problem. However I can not reproduce such issue on my dataset so it's progressing slowly...

shaoanlu avatar Feb 12 '18 08:02 shaoanlu

Check your google mail, i send you (complete data set + Input Video) so you can reproduce the problem.

ZeroCool22 avatar Feb 12 '18 09:02 ZeroCool22

Awesome! I'll look into it.

shaoanlu avatar Feb 12 '18 10:02 shaoanlu

I have the same issue. I thought this is an alignment problem !?

petergerten avatar Feb 21 '18 15:02 petergerten