InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[bug]: When using the RunwayML inpainting model, negative prompts do not work at all, which is not documented

Open n00mkrad opened this issue 2 years ago • 7 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

OS

Windows

GPU

cuda

VRAM

24 GB

What happened?

When trying to use a negative prompt (unconditioning) in combination with the RunwayML inpainting model, the words instead get picked up as part of the regular prompt.

To reproduce, run this for example:

portrait photo [monochrome]

SD 1.5 will never show a monochrome image, while SD 1.5 inpainting will always do as it interprets it as part of the prompt.

I assume this is an architectural limitation, however I did not find any mention of this in the documentation.

Screenshots

No response

Additional context

No response

Contact Details

No response

n00mkrad avatar Nov 27 '22 21:11 n00mkrad

@lstein any idea? i know the inpainting model runs a different code path, maybe somewhere in the hybrid conditioning the negative words are being mixed up

damian0815 avatar Nov 27 '22 21:11 damian0815

I was about to open an issue exactly about that just now :) Running 1.5 inpainting on a linux machine (so it's probably not the environment).

yoniker avatar Nov 30 '22 00:11 yoniker

I did some testing; this always happens with that model, doesn't matter if it's txt2img, img2img, or masked inpainting.

n00mkrad avatar Dec 05 '22 20:12 n00mkrad

Weighting also does not work - None of the prompt features do, it seems.

n00mkrad avatar Dec 05 '22 20:12 n00mkrad

I am having this exact same issue. Thought I was doing something wrong, tried [] and weighting, neither worked.

haqthat avatar Dec 12 '22 20:12 haqthat

@lstein I think that you might be busy with the 2.x models, is this a trivial fix or a time-consuming fix?

yoniker avatar Dec 12 '22 23:12 yoniker

I have the same issue confirmed. Negative prompts with the inpainting 1.5 model do not work with the [brackets] for negative prompts. Confirmed negative prompts work as intended with all OTHER models.

mrbaca14 avatar Dec 20 '22 23:12 mrbaca14