Fanghua-Yu / SUPIR

SUPIR aims at developing Practical Algorithms for Photo-Realistic Image Restoration In the Wild
http://supir.xpixel.group/
Other
3.88k stars 340 forks source link

Newest Face restoration not pasting back into original image properly #57

Open FurkanGozukara opened 4 months ago

FurkanGozukara commented 4 months ago

I have done extensive testing. I tested with your original implementation first then merging into my own gradio exactly same.

Input image raw 256px

image

Output final image

image

Restored face output

image

image

image

FurkanGozukara commented 4 months ago

@Fanghua-Yu can you verify paste back feature? It is not pasting back

This is the code line where it is not accurately working as expected

results = [face_helper.paste_faces_to_input_image(upsample_img=_bg[0])]

Here let me show I did logging

image

image

Before Face merge

image

After Face apply

image

Applied face

image

rafstahelin commented 4 months ago

+1

itslukebond commented 4 months ago

+1 same issue