zyainfal / One-Shot-Face-Swapping-on-Megapixels

One Shot Face Swapping on Megapixels.
Other
317 stars 41 forks source link

Result image has orange face #39

Open naeun0620 opened 2 years ago

naeun0620 commented 2 years ago

lcr

I followed all your guidelines, downloading pretrained weights and setting up dataset and processed them. However, the result image's face is all orange.

Please help!

zyainfal commented 2 years ago

Firstly, can you do reconstruction?

naeun0620 commented 2 years ago

What do you mean by reconstruction?

zyainfal commented 2 years ago

To reconstruct the input face. You can see more details about reconstruction by refine function in inference.py. If you cannot reconstruct the input, the problem may happens in encoder or generator. Then, you can try to run stylegan2 individually to see if you have configure the stylegan2 generator properly.

And if you can reconstruct the input, the problem should be in swapper, but I havn't seen this problem before. We can discuss this later if this happens.