aigc-apps / sd-webui-EasyPhoto

📷 EasyPhoto | Your Smart AI Photo Generator.
Apache License 2.0
4.98k stars 399 forks source link

a bug in easyphoto_infer #341

Closed janic716 closed 11 months ago

janic716 commented 11 months ago

https://github.com/aigc-apps/sd-webui-EasyPhoto/blob/d47a2de062a05dcadeee83f140e18fbefb6d79ff/scripts/easyphoto_infer.py#L1224C61-L1224C61

# First diffusion, facial reconstruction
ep_logger.info("Start First diffusion.")
ImageChops.multiply(input_image, input_mask)
if not face_shape_match:

the result of "ImageChops.multiply(input_image, input_mask)" is not used

bubbliiiing commented 11 months ago

delete already

hkunzhe commented 11 months ago

https://github.com/aigc-apps/sd-webui-EasyPhoto/blob/d47a2de062a05dcadeee83f140e18fbefb6d79ff/scripts/easyphoto_infer.py#L1224C61-L1224C61

# First diffusion, facial reconstruction
ep_logger.info("Start First diffusion.")
ImageChops.multiply(input_image, input_mask)
if not face_shape_match:

the result of "ImageChops.multiply(input_image, input_mask)" is not used

Just a typo. It doesn't make a difference to the result.