Page 1 of 1
Double eyebrow problem after conversion
Posted: Thu Jun 04, 2020 8:02 am
by beetroot
Hello, I am facing a 'double eyebrow' problem after conversion, where the converted person has one of their eyebrows doubled. I have added the extended mask to the conversion process by specifying '-M extended' in the command, but the double eyebrow problem is still present.
Are there any other possible solutions to this problem?
Your inputs will be greatly appreciated.
Re: Double eyebrow problem after conversion
Posted: Thu Jun 04, 2020 8:52 am
by torzdf
Generally the extended mask fixes it in most issues. Use the preview tool to adjust the mask erosion and blending settings to get it how you need it.
Re: Double eyebrow problem after conversion
Posted: Tue Jun 09, 2020 5:59 am
by beetroot
Thanks for the reply
Unfortunately, I am doing the conversion through command line and am not able to use the GUI.
Is there something wrong with my input command?
My input command is
python faceswap.py convert -i ~/faceswap/[pathToVideo].mp4 -al ~/faceswap/[pathToVideo'sAlignments].fsa -o ~/faceswap/converted/ -m ~/faceswap/[modelDir] -M extended -s
for a swapping of person B to A with mask set to extended
Ive noticed that the converted face with the mask and the converted face without the mask look identical.
Re: Double eyebrow problem after conversion
Posted: Tue Jun 09, 2020 8:10 am
by torzdf
No, that looks fine.
However, the amount of blending on the mask and the extract box will impact how much of the edges are eroded out.
You should be able to copy your model and files to a local machine and run the preview tool there (It might be a bit slow to update to new preview images not using a GPU but should certainly be usable) and then copy your convert settings back to the convert.ini file on your headless machine.
It's also worth noting that, generally, training at 62.5% coverage is likely to crop just above the eyebrows, so you may not be able to fix double eyebrows in this instance (example from the Training guide):
Re: Double eyebrow problem after conversion
Posted: Thu Jun 11, 2020 9:29 am
by beetroot
Thanks! I played with the amount of blending in the extraction config file and that fixed it