wkpark / uddetailer

μ DDetailer, DDetailer fork to support DDetailer as an extension
GNU Affero General Public License v3.0
63 stars 1 forks source link

Extension reseting image after inpainting #42

Open eL1fe opened 11 months ago

eL1fe commented 11 months ago

So I installed the extension, added a prompt to uddetailer with default settings, and started generation. A picture was generated, after that the extension came into play, discovered the face, began to change it, but it was reset by 70% to the default face that was generated initially, and as a result, nothing has changed for me. There are no errors in the console either, there is nothing. What am I doing wrong?

1) Recognition: face_recognition 2) Inpainting with my prompt: inpainting 3) Reseting to defaults: reseting 4) As result - default picture: done

This is console output: terminal Help me pls, this extension is so cool, but I can't use it for some reason :c

eL1fe commented 11 months ago

My webui-user.bat looks like:

set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=--upcast-sampling --medvram --no-hashing  --always-batch-cond-uncond --opt-split-attention --opt-sdp-attention --opt-channelslast  
eL1fe commented 11 months ago

Running on RX 6650 XT, this version of web-ui.

wkpark commented 11 months ago

so, you've used uddetailer + controlnet settings: canny (recently added feature) you can share your image (contains several uddetailer's settings in it) if you don't mind. (my personal email address is wkpark@gmail.com)


checklist

wkpark commented 11 months ago

After some testing, it appears that the canny controlnet you've selected doesn't always work as intended.

wkpark commented 11 months ago

this is a result with your provided prompt and settings https://github.com/wkpark/uddetailer/assets/232347/fcd5a9b2-848c-47e9-a6c0-dbfb26f392ef

I can't reproduce but I guess there are some bugs to prevent saving the result correctly for your environment.


One more question. does ADetailer work without this issue? https://github.com/Bing-su/adetailer

eL1fe commented 11 months ago

No, ADetailer generates with the same result as Uddetailer

In this case, apparently there is something wrong with my computer, perhaps it does not have enough VRAM at some point and it resets to the default image or something like that :C

CCpt5 commented 10 months ago

Interesting as I haven't tried this yet w/ uddetailer but was about to as I am experiencing this same problem on ADetailer. I just started a thread referencing an older one that was closed: https://github.com/Bing-su/adetailer/issues/438

Hopefully someone can find a solution - odd.

Bing-su commented 10 months ago

img2img의 '인페인팅'모드에서만 나타나는 현상으로, 사용자가 직접 캔버스에 마스크로 지정한 영역 이외를 원본으로 되돌리기 때문으로 보입니다.

CCpt5 commented 10 months ago

A user on the ADetailer repo found a workaround that does work for me using AD:

https://github.com/Bing-su/adetailer/issues/438#issuecomment-1849453653