Open GodEmperor785 opened 9 months ago
I have the same issues :(
I have noticed that "MultiDiffusion Integrated" with "ControlNet Integrated" error depends on the resolution of the image.
Example with SDXL model
a) Resize by: 2 (from 1024x1344 to 2048x2688) -> will result in error: TypeError: 'NoneType' object is not iterable b) Resize by: 1.5 (from 1024x1344 to 1536x2016) -> will work !! c) anything other scale ratio will result in TypeError: 'NoneType' object is not iterable, both higher or lower values (e.g 1.2/1.3/1.4/1.6/..../2.8/3.0/4.0) d) disabling MD extension and leaving only CN enabled will result in TypeError: 'NoneType' object is not iterable e) disabling CN extension and leaving only MD will work
So, the problem is between "CN" extension and output resolution / scaling ratio, not MD.
Edit: ....after further testing I found that it's also related to Denoising strength !?! but not on Steps. Meaning that what I described in point b) Resize by: 1.5 (from 1024x1344 to 1536x2016) -> was a PASS with 40 steps, and denoise: 0.5 (DPM++ 2M Karras)
I hope this will help find the source of the issue.
I don't think it's dependent on parameters, the real error is AttributeError: 'dict' object has no attribute 'get_control'
(at least for me and OP), which seems to be a programming error to me
I don't think it's dependent on parameters, the real error is
AttributeError: 'dict' object has no attribute 'get_control'
(at least for me and OP), which seems to be a programming error to me
Well... my testing lead to different conclusion. And I was talking about TypeError: 'NoneType' object is not iterable which seem to be the same as attached *.txt examples. This error depends on mentioned parameters, at least in my environment.
Checklist
What happened?
I checked multiple possible combinations of Multidiffusion Integrated + Controlnet Integrated (tile model) and there are some combinations that fail with errors. Lets start with what works:
However other combinations cause problems, from what I checked:
I'm adding console logs as files to this issue (in "Additional information" section).
In the extension for normal webui (https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111) problematic scenarios 1 and 2 worked fine - multidiffusion extension worked on SD1.5 with all combinations of controlnet
For SDXL controlnet tile I used these: https://huggingface.co/bdsqlsz/qinglong_controlnet-lllite models named "bdsqlsz_controlllite_xl_tile_anime_X" - they seem to work fine in Ultimate SD Upscale extension For SD1.5 I used the standard controlnet tile model "control_v11f1e_sd15_tile"
In Multidiffusion Integrated for SDXL I set tile size = 1024, other settings were left at defaults. For SD1.5 all settings were left at defaults.
All tests were made in img2img tab with processing image upscaled in extras with "resize by" = 1, image size was 2304x3456
There were some other issues made for multidiffusion extensions but none seems to describe current situation
Can we expect support for mentioned scenarios (at least for those that worked in original extension)?
Also I noticed that slider "Tile Batch Size" in Multidiffusion Integrated has allowed range of values from 1 to 8192, this looks like a much too big number for batch size. Or am I missing something and this is intentional?
If it matters I installed webui-forge from the "one-click installation package" in readme file (I also ran update.bat so forge version should be up to date)
Steps to reproduce the problem
What should have happened?
Process the image with Multidiffusion Integrated + Controlnet Integrated (tile model) without errors and produce output image
What browsers do you use to access the UI ?
Brave
Sysinfo
sysinfo-2024-02-11-12-43.json
Console logs
Additional information
error_1-mixture_sd15_controlnet.txt error_2-multidiffusion_sd15_controlnet_tile_colorfix+sharp.txt error_3-sdxl.txt