Add support for clip g vision model to CLIPVisionLoader.

This commit is contained in:
comfyanonymous
2023-08-18 11:13:29 -04:00
parent fc99fa56a9
commit 76d53c4622
2 changed files with 28 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
{
"attention_dropout": 0.0,
"dropout": 0.0,
"hidden_act": "gelu",
"hidden_size": 1664,
"image_size": 224,
"initializer_factor": 1.0,
"initializer_range": 0.02,
"intermediate_size": 8192,
"layer_norm_eps": 1e-05,
"model_type": "clip_vision_model",
"num_attention_heads": 16,
"num_channels": 3,
"num_hidden_layers": 48,
"patch_size": 14,
"projection_dim": 1280,
"torch_dtype": "float32"
}