lllyasviel / stable-diffusion-webui-forge

GNU Affero General Public License v3.0
8.33k stars 811 forks source link

[Bug]: controlnet models won't show #485

Open iamsuper123 opened 8 months ago

iamsuper123 commented 8 months ago

Checklist

What happened?

controlnet models won't show. when i use the controlnet model dropdown in the builtin controlnet extension for txt to img, no controlnet models show despite me having models installed. when I go to the extensions-builtin folder, there is no "models" folder where I'm supposed to put in my controlnet_tile and controlnet_openpose.pth files. I've tried putting it into models/controlnet folder as well, but still no. when i go to the deforum tab and enable controlnet, then press the "cn model" dropdown its the same, no models found, it says "none"

Steps to reproduce the problem

  1. go to txt2img
  2. enable controlnet model
  3. click on the dropdown

What should have happened?

controlnet models should've shown in the drop down

What browsers do you use to access the UI ?

Other

Sysinfo

none

Console logs

2024-03-04 21:19:30,592 - AnimateDiff - INFO - AnimateDiff process start.
2024-03-04 21:19:30,829 - AnimateDiff - INFO - Setting DDIM alpha.
2024-03-04 21:19:30,849 - AnimateDiff - INFO - Injecting motion module improvedHumansMotion_refinedHumanMovement.ckpt into SD1.5 UNet.
To load target model BaseModel
To load target model MotionWrapper
Begin to load 2 models
unload clone 1
unload clone 0

image generation works, its just that models aren't appearing so I don't think console logs are necessary. included them anyways

Additional information

yes, I pressed the reload button next to the dropdown, doesn't work. and I have restarted my webui, doesn't work

Rokkonrol commented 8 months ago

Hmm, yeah that's a really annoying bug, not sure what could be causing that. Try installing Forge via StabilityMatrix. Place the model files in the StabilityMatrix/Models/ControlNet folder. StabilityMatrix utilizes symlink folders, so the ControlNet models should appear and be usable within any installed package.

Also, make sure you're using the Forge version of AnimateDiff. The regular A1111 version of the AnimateDiff extension isn't compatible with Forge.

iamsuper123 commented 8 months ago

Hmm, yeah that's a really annoying bug, not sure what could be causing that. Try installing Forge via StabilityMatrix. Place the model files in the StabilityMatrix/Models/ControlNet folder. StabilityMatrix utilizes symlink folders, so the ControlNet models should appear and be usable within any installed package.

Also, make sure you're using the Forge version of AnimateDiff. The regular A1111 version of the AnimateDiff extension isn't compatible with Forge.

thanks but controlnet has worked on forge before

iamsuper123 commented 8 months ago

Hmm, yeah that's a really annoying bug, not sure what could be causing that. Try installing Forge via StabilityMatrix. Place the model files in the StabilityMatrix/Models/ControlNet folder. StabilityMatrix utilizes symlink folders, so the ControlNet models should appear and be usable within any installed package.

Also, make sure you're using the Forge version of AnimateDiff. The regular A1111 version of the AnimateDiff extension isn't compatible with Forge.

nevermind it worked! i placed the models inside models/controlnet. i don't know why that didn't work last time, but now it works

pretsbrus commented 6 months ago

i had the same problem, i saw tutorial and the guy put all models webui\extensions\sd-webui-controlnet\models, but the WebUI Forge have a built-in Control net and wont work if you download the other ControlNet for Github, wont let you check the box in the Extension tab...

so i got in the webui\extensions-builtin\sd_forge_controlnet but there was no Folder Models, i tried to create a folder and paste all models there, didn`t work

next step i open the webui\models\ControlNet and paste all the models there, and worked, its weird i know, but i knew i was gonna able to fix it. sometimes you just have to be sure the tutorial you are watching is for the WebUI forge, i realize the tutorial i was watching is for A1111, its similar but not the same

getuart1 commented 3 months ago

now someone why doesnt work controlnet ??!!

THEYAKUZI commented 2 months ago

for reforge the model folder is in webui/models/ControlNet, use that instead of the one in extensions and then it'll work

alx commented 2 months ago

Today I found the same issue with StabilityMatrix (I should report there too):

[INFO]  SharedFolders   Updating junction link from /home/alx/bin/Data/Models/ControlNet to /home/alx/bin/Data/Packages/stable-diffusion-webui-forge/models/controlnet/ControlNet

./Data/Packages/stable-diffusion-webui-forge/models/controlnet/ControlNet path is incorrect, and the models won't be visible in webui.

Current quickfix until something better:

cd ./Data/Packages/stable-diffusion-webui-forge/models/
rmdir ControlNet
ln -sf controlnet/ControlNet