You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use inpainting masks in a specialized loopback script and after checking for bugs on my side it doesnt look like its caused by my script.
The mask blur is applied for every iteration, when using the loopback script. That means the area gets wider and wider until eventually the image freezes with some strange artifacts.
I found this code part in img2img.py:
It creates the mask but I actually have not a very good idea what it is doing exactly. I just want to stop applying the blurring of the mask after iteration 0.
Because this is in a module and not in my script, I have no idea how to do it. Can someone help me here?
edit: After some more testing I am not so sure if the mask is blurred per iteration, however it gets bigger and fizzles out. What could be the cause of it? I am not modifying the inpainting mask in my script at all
edit2: The mask doesnt blur much further with mask blur 1 but it does with mask blur 8 for example, so that things that were inside the mask, are frozen after a few iterations
edit3: solved it. It was accessible though p.mask_blur in the script. Just gave it a zero if i != 0.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to use inpainting masks in a specialized loopback script and after checking for bugs on my side it doesnt look like its caused by my script.
The mask blur is applied for every iteration, when using the loopback script. That means the area gets wider and wider until eventually the image freezes with some strange artifacts.
I found this code part in img2img.py:

It creates the mask but I actually have not a very good idea what it is doing exactly. I just want to stop applying the blurring of the mask after iteration 0.
Because this is in a module and not in my script, I have no idea how to do it. Can someone help me here?
edit: After some more testing I am not so sure if the mask is blurred per iteration, however it gets bigger and fizzles out. What could be the cause of it? I am not modifying the inpainting mask in my script at all
edit2: The mask doesnt blur much further with mask blur 1 but it does with mask blur 8 for example, so that things that were inside the mask, are frozen after a few iterations
edit3: solved it. It was accessible though p.mask_blur in the script. Just gave it a zero if i != 0.
Beta Was this translation helpful? Give feedback.
All reactions