AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
139.79k stars 26.49k forks source link

[Bug]: posex, (3d pose changing area) doesnt display #9019

Closed AleksandrAsimov closed 1 year ago

AleksandrAsimov commented 1 year ago

Is there an existing issue for this?

What happened?

Posex doesnt show 3d pose changing area after mark checkbox

Steps to reproduce the problem

  1. Start Stable Diffusion
  2. install posex https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Extensions/4fd576eb8eee007ff96d342616b92fbb15fa06bf#posex (guide)
  3. Go to txt2img tab
  4. open posex menu
  5. mark the checkbox
  6. nothing happens Screenshot_2

What should have happened?

Should display (3d pose changing area) Screenshot_1

Commit where the problem happens

https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/8ea8e712c43e493a9c96dcec7dfbc036a8630c97

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

set COMMANDLINE_ARGS=  --autolaunch --theme=dark --xformers

List of extensions

posex https://github.com/hnmr293/posex 233daf8e (Tue Mar 7 12:21:57 2023) unknown sd-webui-controlnet https://github.com/Mikubill/sd-webui-controlnet 241c05f8 (Thu Mar 23 15:18:35 2023) unknown LDSR built-in
Lora built-in
ScuNET built-in
SwinIR built-in
prompt-bracket-checker built-in

Console logs

C:\Users\Salamandra\Desktop>cd C:\stable-diffusion-webui

C:\stable-diffusion-webui>call webui-user.bat
----------------------------------------------------
\\\\  WELCOME TO STABLE DIFFUSION MR SALAMANDRA  ////
----------------------------------------------------
venv "C:\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: 4c1ad743e3baf1246db0711aa0107debf036a12b
Installing requirements for Web UI

Launching Web UI with arguments: --autolaunch --theme=dark --xformers
Loading weights [ca883fecc7] from C:\stable-diffusion-webui\models\Stable-diffusion\perfectWorld_perfectWorldBakedVAE.safetensors
Creating model from config: C:\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Loading VAE weights specified in settings: C:\stable-diffusion-webui\models\VAE\vae-ft-mse-840000-ema-pruned.ckpt
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(3): bad_prompt, bad_prompt_version2, yoko_v1
Model loaded in 4.1s (load weights from disk: 0.4s, create model: 0.4s, apply weights to model: 0.6s, apply half(): 0.8s, load VAE: 0.3s, move model to device: 0.7s, load textual inversion embeddings: 0.9s).
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 10.0s (import torch: 1.4s, import gradio: 1.0s, import ldm: 0.3s, other imports: 0.9s, list extensions: 0.5s, load scripts: 1.0s, load SD checkpoint: 4.2s, create ui: 0.4s, gradio launch: 0.3s).

Additional information

No response

missionfloyd commented 1 year ago

The posex repo is that way 👉 https://github.com/hnmr293/posex

Juniper-L commented 1 year ago

me2. It disappeared after the update.

barasabwb commented 1 year ago

@missionfloyd nah, there's a bug in latest A1 that isn't loading scripts properly as far as i can tell.

Yeah some of my extensions no longer work when i updated

barasabwb commented 1 year ago

@missionfloyd nah, there's a bug in latest A1 that isn't loading scripts properly as far as i can tell.

Yeah some of my extensions no longer work when i updated

Or the UI is just stuck on loading

bjh021149 commented 1 year ago

samething happended to me.sometimes it works.

ipinz commented 1 year ago

you must open it in img2img tab and the switch back

CarpenterLee commented 1 year ago

update webui to the latest version(git pull), and it works.

AleksandrAsimov commented 1 year ago

for me it works after i update posex extension to 1apr version image

yellolab21 commented 1 year ago

me2. It disappeared after the update.

Valeruccio commented 1 year ago

Yepp, i have some problem, but i found js loading problem

2023-06-29_09-31-48

Valeruccio commented 1 year ago

so guys, i solved problem

i download this extension https://github.com/huchenlei/sd-webui-openpose-editor/tree/main and disable posex, next i run npm install on sd directory

this is another way to use poses in controlnet

levoy1 commented 1 year ago

You can use this rollbacked posex version (had the same issue and this worked for me). Simply uninstall posex an install this one via URL:

https://github.com/daswer123/posex

You can thank daswer123. Source: https://github.com/hnmr293/posex/issues/39#issuecomment-1585813382

Yaqing2023 commented 1 year ago

I have Wed May 3 08:59:57 2023 version of posex and ran into the same issue, I got the same js error as Valeruccio posted above. Is there a fix for this?

Valeruccio commented 1 year ago

I installed this plugin, and problem solved, my next action was like this, I installed pycharm, updated all dependencies, installed node modules and all these problems were solved

https://github.com/daswer123/canvas-zoom

2023-07-15_10-46-07

oleg7zosimov commented 1 year ago

still doesn't work canvas-zoom installed posex doesn't work https://github.com/daswer123/posex this verison show me 3d model but doesn't work--not generated i don't choose preprocessor and choose openpose, but there are no effect

Valeruccio commented 1 year ago

do you push "Enabled"? dont forget download https://huggingface.co/webui/ControlNet-modules-safetensors/blob/main/control_openpose-fp16.safetensors 2023-07-22_10-38-35

Gonchae commented 6 months ago

so guys, i solved problem

i download this extension https://github.com/huchenlei/sd-webui-openpose-editor/tree/main and disable posex, next i run npm install on sd directory

this is another way to use poses in controlnet

its working

nothingness6 commented 6 months ago

It's really frustrating. Since the last update of A1111, so many issues have happened. Especially, some extensions stopped working besides posex. I don't understand.

nothingness6 commented 6 months ago

You can use this rollbacked posex version (had the same issue and this worked for me). Simply uninstall posex an install this one via URL:

https://github.com/daswer123/posex

You can thank daswer123. Source: hnmr293/posex#39 (comment)

Thanks! This one works! Other methods don't work.

biosfakemail13 commented 4 months ago

to fix this bug just use the old version canvas-zoom where posex works https://github.com/daswer123/canvas-zoom