-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
flux img2img controlnet channels error #9979
Comments
The error occurs because the control image has only 1 channel (grayscale) while the Flux ControlNet model expects a 3-channel (RGB) image, causing a channel mismatch during the image-to-image generation process. |
I found that the image has 3 channels |
I checked that the control image is 3-channel, but the problem still exists |
Please format the code snippet because it's incorrect. Once done, let us know |
|
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
@wen020 have you got a solution? I am having exactly the same issue. |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
the flux controlnet img2ing does not support x-lab controlnet yet, anyone interested in adding the support? |
I will try to take care of this issue. |
Describe the bug
When I use flux's img2img controlnet for inference, a channel error occurs.
Reproduction
Logs
System Info
latest diffusers
Who can help?
@yiyixuxu @sayakpaul
The text was updated successfully, but these errors were encountered: