idinvert_pytorch icon indicating copy to clipboard operation
idinvert_pytorch copied to clipboard

Semantic Diffusion : Irregular foreground with aribitray coordinates

Open venuv opened this issue 2 years ago • 2 comments

Is there a way to modify the source code to blend skin defects (say a birthmark on to a face) that are non-rectangular and on arbitrary coordinates on the face. Could you provide any high level thoughts parts of the code that would change?

venuv avatar Aug 13 '22 03:08 venuv

would I have to write a version of diffuse in utils/inverter.py that accepts a mask instead of x/y coordinates of the rectangular foreground bounding box?

venuv avatar Aug 13 '22 03:08 venuv

Yes

would I have to write a version of diffuse in utils/inverter.py that accepts a mask instead of x/y coordinates of the rectangular foreground bounding box?

zhujiapeng avatar Aug 14 '22 11:08 zhujiapeng