Updated: Feb 11, 2024
toolColor Controlnet LLlite model for SDXL.
Use with the t2i_color_grid preprocessor to reduce your input to an 8x8 color grid. or reduce manually by shrinking your image to 8x8 and then resizing it, e.g.
input_img_color = cv2.resize(img, (w//128, h//128), interpolation=cv2.INTER_CUBIC)
input_img_color = cv2.resize(input_img_color, (w, h), interpolation=cv2.INTER_NEAREST)
This was trained on 3179 pairs of images.