pharmapsychotic / clip-interrogator

Image to prompt with BLIP and CLIP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SDXL Clip Support

adammenges opened this issue · comments

Going to go ahead and make an issue for SDXL, will be an obvious request here in the next couple weeks.

clip_model_name: str = Input(
default="ViT-L-14/openai",
choices=["ViT-L-14/openai", "ViT-H-14/laion2b_s32b_b79k"],
description="Choose ViT-L for Stable Diffusion 1, and ViT-H for Stable Diffusion 2",
),

SDXL uses OpenClip "ViT-g-14/laion2B-s34B-b88K"

config = Config()
config.clip_model_name = "ViT-g-14/laion2B-s34B-b88K"
model = Interrogator(config)