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

Inpainting not working #174

Open
imperator-maximus opened this issue Jan 27, 2023 · 7 comments
Open

Inpainting not working #174

imperator-maximus opened this issue Jan 27, 2023 · 7 comments

Comments

@imperator-maximus
Copy link

Hello,
I have a problem to get inpainting working again and I am sure that it was fine some weeks ago. But I might have done something wrong here anyway.
Here is an example with my parameters:
prompt: a photo of a green plant, highly detailed
mask, image provided
model: stable-inpainting-512-v2-0
ScheduleParameters - start: 1.0
step.setScaledStep(0)

mask artifact
let promptMask = new Prompt()
let artifact=new Artifact()
artifact.setType(ArtifactType.ARTIFACT_MASK)
artifact.setBinary(p.maskImage64)
promptMask.setArtifact(artifact)
request.addPrompt(promptMask)
image same but with ARTIFACT_IMAGE
and promptParameters.setInit(true)

3a1fade9-5505-485b-b2c1-cdd15ee5ad8a
5a693e11-2f52-42a0-8721-13faff37228b
Screenshot 2023-01-27 171604

Thank you!

@ChristopherValore
Copy link
Contributor

Hi there! @imperator-maximus Is this a problem that you are still encountering? Would you be willing to run additional tests and let us know if this is still a problem for you? If it is and you could provide us a number of examples including masks as you've done here, that would be excellent, thank you!

@grzegorzewskiflyingdog
Copy link

Hello there is still this bug
i use masks :
2
3
then i use parameters like in example :
formdata.append('mask_source', 'MASK_IMAGE_BLACK')
formdata.append(
'text_prompts[0][text]',
'woman sitting on bench'
)
formdata.append('cfg_scale', '7')
formdata.append('clip_guidance_preset', 'FAST_BLUE')
formdata.append('samples', 1)
formdata.append('steps', 30)
formdata.append("init_image", binary);
formdata.append("mask_image", binarymask);
and result has black border:
woman sitting on bench

@UXDart
Copy link

UXDart commented Jul 25, 2023

is there any news about this? inpainting doesn't work at all right now. this last image, shows it, there are black lines everywhere. will this is be solved? the post is months old. I'm using REST api, should I use a different API? thanks

@UXDart
Copy link

UXDart commented Jul 26, 2023

did more tests, sometimes using DDIM it seems to work but when trying to inpaint bottom right side, it adds the black line. any idea how to solve that? thanks. this happens with all models, including new ones. the last one, freeze and never replies.

@UXDart
Copy link

UXDart commented Jul 26, 2023

did a test in DreamStudio, and the same error happens. can I at least know if it will be fixed? thanks. also sent an email FYI with a bug in DreamStudio, other bug

@UXDart
Copy link

UXDart commented Aug 16, 2023

biggest problem is really when inpaint at the bottom, it creates a new image, it seems to work in other directions. again can I contact anyone? thanks

@himmetozcan
Copy link

I have just tested it and it is still a problem. Basically inpainting is not working, very poor results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants