Skip to content

Latest ControlNet, not available,Error occurred when executing ControlNetLoader: argument of type 'NoneType' is not iterable #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
NiuRou520 opened this issue Jul 27, 2024 · 8 comments

Comments

@NiuRou520
Copy link

微信图片_20240728002821

@Orenji-Tangerine
Copy link

I have tried xinsir version of SDXL controlnet from MZ KolorsControlnetLoader, but not successful though the update says official one can be used, however I dont know which one. So I went ahead to get Kolors official controlnet from their Huggingface repo, and it works fine.

Controlnet Kolors

@Orenji-Tangerine
Copy link

Kolors Huggingface Repo, link shortened for tidiness
Kolors Controlnet Canny: https://bit.ly/kolors-canny
Kolors Controlnet Depth: https://bit.ly/kolors-depth
Kolors Inpainting: https://bit.ly/kolors-inpainting

@wailovet
Copy link
Contributor

微信图片_20240728002821

You need to use MZ_KolorsControlnetLoader to load the kolors controlnet model

@wailovet
Copy link
Contributor

I have tried xinsir version of SDXL controlnet from MZ KolorsControlnetLoader, but not successful though the update says official one can be used, however I dont know which one. So I went ahead to get Kolors official controlnet from their Huggingface repo, and it works fine.

Controlnet Kolors

MZ_KolorsControlnetLoader is unable to load the controlnet model of SDXL. If you want to use the controlnet model of SDXL, refer to examples/workflow_controlnet.png

@NiuRou520
Copy link
Author

微信图片_20240728002821

You need to use MZ_KolorsControlnetLoader to load the kolors controlnet model您需要使用MZ_KolorsControlnetLoader来加载kolors controlnet模型

I just used MZ_KolorsControlnetLoader to load the controlnet model of kolors, and then displayed the problem error

@chaorenai
Copy link

The same problem is still unsolved

@xyr4life
Copy link

xyr4life commented Sep 4, 2024

is there any solution?

@Kozatiju
Copy link

Kozatiju commented Feb 7, 2025

Thanks man for pointing that basic workflow !!! I've been trying to use the official Controlnet MZ node for an hour ( MZ KolorsControlnetLoader ) but I systematically get an error with the Ksampler ( mat1 and mat2 shapes cannot be multiplied (512x2048 and 4096x2048) )
Using the MZ KolorsControlNetPatch, instead of MZ KolorsControlnetLoader, and connect it to a simple ControlnetLoader with Xinsir Controlnet Union Promax did the trick. It finally worked...
i've also used another Applycontrolnet Node, and it worked too.

It's all a bit confusing, right ?

EDIT : ok, I got it, it all depends on the ChatGLM3Text Encode V2. you've got to use this one and not any other. Then you can use both MZ KolorsControlnetLoader AND MZ KolorsControlNetPatch.

Also, for those of you who are struggling to use the Kolors IpAdapter with an error stuck the ipadapter node, even with the clip-vit-large-patch14-336.bin ( The size of tensor a (257) must match the size of tensor b (577) at non-singleton dimension 1 ), you must use the IpAdapterAdvanced(kolors) "Legacy" Node. Then it finally works. Also confusing for a node not so depricated after all.

Image

MZ_KolorsControlnetLoader is unable to load the controlnet model of SDXL. If you want to use the controlnet model of SDXL, refer to examples/workflow_controlnet.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants