-
Notifications
You must be signed in to change notification settings - Fork 37
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
Error occurred when executing KSampler: Given groups=1, weight of size [320, 4, 3, 3], expected input[2, 8, 96, 72] to have 4 channels, but got 8 channels instead #45
Comments
The solution is straightforward: use the appropriate model. This error occurs because there are many comfyui plugins with this functionality on the market, and it's possible that you're not using kijai's IC-Light plugin, but someone else's. Alternatively, you might have downloaded a model not by the author lllyasviel, but a modified version, such as a model by the author huchenlei, which could trigger this prompt. To resolve this issue, you need to ensure two things:
|
Error occurred when executing KSampler: Given groups=1, weight of size [320, 4, 3, 3], expected input[2, 8, 64, 64] to have 4 channels, but got 8 channels instead I'm also in the same situation, I don't know how to deal with it, I'm just waiting for God to help me. |
Either the model you are using is wrong, or you haven't updated these nodes (or ComfyUI itself) to the latest versions. |
The models have all been re-downloaded from https://huggingface.co/lllyasviel/ic-light/tree/main, and comfyui is also the latest. |
Those are correct models yes. Either your ComfyUI just has not updated properly, or these nodes have not updated properly, or some other custom node is interfering. I had this error too after Comfy update, and this fix works for me and has worked for others too. |
Input channels 8 does not match model in_channels 12, 'opt_background' latent input should be used with the IC-Light 'fbc' model, and only with it ComfyUI Error ReportError Details
Stack Trace
System Information
Devices
Logs
Attached WorkflowPlease make sure that workflow does not contain any sensitive information such as API keys or passwords.
Additional Context(Please add any additional context or steps to reproduce the error here) |
I also encountered this kind of channel asymmetry problem, how did you solve it?
The text was updated successfully, but these errors were encountered: