dressing-in-order icon indicating copy to clipboard operation
dressing-in-order copied to clipboard

Bad results by the pre-trained model when tested on an unseen image

Open onchiptech opened this issue 2 years ago • 1 comments

Hello,

I run the "Try-On" task inference with the pre-trained model on the following image which is not in the dataset.

a

As you can see the below output generated is not good. Face and hands are not rendered properly.

Screenshot from 2022-09-23 12-56-06

But for the images in the datasets, I am getting good results.

Any suggestions?

Regards, Surendra

onchiptech avatar Sep 23 '22 07:09 onchiptech

The pretrained model has the face overfitting issue for outlier data. For try-on task, I'd suggest something like directly copying and pasting the face as

final_img = face_mask * input_img + (1-face_mask) * generated_image.

where the face_mask you can get from the human parsing which is part of the inputs.

cuiaiyu avatar Sep 24 '22 00:09 cuiaiyu

Hi @onchiptech

Did you solve the face overfitting issue?

When I used this method, Results are not good.

final_img = face_mask * input_img + (1-face_mask) * generated_image.

vinodbukya6 avatar Oct 31 '22 12:10 vinodbukya6