Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outpainting using saved image #204

Open
Ralph224 opened this issue Feb 27, 2023 · 5 comments
Open

Outpainting using saved image #204

Ralph224 opened this issue Feb 27, 2023 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@Ralph224
Copy link

What happened?

Hi,

I'm loading an image from "PNG Info" to OpenOutpaint. In OO, I choose model, prompts, SD settings and so on. Click on a canvas to get everything going. Once I get the results, the original picture stays there but the new added outpainting looks like it never took the original picture into consideration. It brings up nice pictures but doesn't flow with the existing picture.

Image I'm using are with people and changing background is the main goal.

Is it something I'm doing wrong or it's an actual bug?

Steps to reproduce the problem

Load existing PNG from PNG Info
Send to OpenOutpaint
In OpenOutpaint, run with prompt

What should have happened?

The outpainting should have compare the existing image to be able to extend the missing piece.

Commit where the problem happens

NA

What platforms do you use to access openOutpaint?

Windows

What browsers do you use to access the UI ?

Microsoft Edge

Browser Extensions/Addons

NA

AUTOMATIC1111 webUI Commandline Arguments

NA

Additional information

NA

@Ralph224 Ralph224 added the bug Something isn't working label Feb 27, 2023
@joshyy1312
Copy link

joshyy1312 commented Feb 28, 2023

Edit: I checked right now and it doesn't work anymore, even with inpainting specific models. It's as Ralph224 said, the model generates new images without trying to "continue" the current given image.

Old post:
From my experience, this happens when using a normal model instead of an inpainting model.

Normal models can be used with img2img to modify the existing image but you have to use a dedicated inpainting model to extend the original image in the way you describe. And then use your normal model to img2img the extended zone in the correct style.

While in OpenOutpaint, In stable diffusion setting, the correct models to extend your image appear in green in the list. (I usually use 512-inpainting-ema)

@seijihariki
Copy link
Collaborator

Would it be possible to record a simple video for this? I cannot really replicate the issue in question... If you can also enable debugging and send the downloaded images here...

@joshyy1312
Copy link

I tried to reproduce it now and I can't.

The only difference I see with before is that I closed the browser (firefox).

As I got the habit of refining big images (4k/8k) with the extension's img2img, would it be possible it's something that happens when working for a long time? Maybe memory leak/fragmentation?

I'll enable debugging next time I do a long session with big pictures (tonight probably).

@seijihariki
Copy link
Collaborator

Thank you. Remember to save your workspace not to lose any progress to this issue.

@joshyy1312
Copy link

joshyy1312 commented Mar 3, 2023

This morning it happened again, so I enabled debug and recorded the process.
The video and both debug images are in the zip.

It wasn't corrected when I clicked "reset to default" in debug but it WAS corrected when I clicked the "refresh openoutpaint" blue button at the top of the canvas.

Thank you for looking :)
outpaint bug 204.zip

PS: Please don't mind the alien parasitic worm, it's for the rpg I DM :p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants