coolzilj / Blender-ControlNet

Using ControlNet right in Blender.
MIT License
760 stars 68 forks source link

Deprecated warning #17

Closed Jordain closed 1 year ago

Jordain commented 1 year ago

It's working for me, but I am getting these warnings.

[ControlNet] warning: using deprecated 'controlnet_*' request params [ControlNet] warning: consider using the 'control_units' request param instead

AidenRiley commented 1 year ago

I had to change this line in the demo.py

# prepare server url
#server_url = "http://localhost:7860" + "/controlnet/txt2img"
server_url = "http://localhost:7860" + "/sdapi/v1/txt2img"
Jordain commented 1 year ago

Thanks that worked!

Jordain commented 1 year ago

Should I use a different variable for the controlnet_*? it doesn't seem to be looking at the depth map. With the deprecated version I was getting it to match the depth map.

"controlnet_module": "depth",
"controlnet_model": "diff_control_sd15_depth_fp16 [978ef0a1]", 
"controlnet_guidance": 1.0,
Deividaszu commented 1 year ago

I have the same problem as Jordain, It is rendering but do not using depth map.

AidenRiley commented 1 year ago

sorry it's broken right now, check notes on sd-webui addon.

coolzilj commented 1 year ago

Migrated to the new ControlNet API already, please refer to the readme for any changes.