This is an automated archive made by the Lemmit Bot.

The original was posted on /r/stablediffusion by /u/One_Appointment6331 on 2024-09-03 17:00:33+00:00.


For anybody wondering why the SDXL openpose T2i-adapter never seemed to work correctly. I haven’t seen this issue being discussed anywhere so I thought I’d make a post.

It seems like the SDXL T2I openpose models were trained on images with the blue and red channels flipped. You get much better results if you flip those channels on the openpose conditioning image. This is probably a training bug related to opencv and how it handles channels (BGR instead of RGB)

Here is an example:

And here are the generated images:

An openpose image with R and B flipped performs much better.

Edit: I did this in comfyui using the Split Image Channels and Merge Image Channels nodes in this plugin:

Red -> Blue | Green -> Green | Blue -> Red