ChrisGoringe
commited on
Commit
•
116711a
1
Parent(s):
bb07a8c
Upload 2 files
Browse files- config.json +20 -0
- preprocessor_config.json +19 -0
config.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": ["CLIPVisionModelWithProjection"],
|
3 |
+
"attention_dropout": 0.0,
|
4 |
+
"dropout": 0.0,
|
5 |
+
"hidden_act": "gelu",
|
6 |
+
"hidden_size": 1664,
|
7 |
+
"image_size": 224,
|
8 |
+
"initializer_factor": 1.0,
|
9 |
+
"initializer_range": 0.02,
|
10 |
+
"intermediate_size": 8192,
|
11 |
+
"layer_norm_eps": 1e-05,
|
12 |
+
"model_type": "clip_vision_model",
|
13 |
+
"num_attention_heads": 16,
|
14 |
+
"num_channels": 3,
|
15 |
+
"num_hidden_layers": 48,
|
16 |
+
"patch_size": 14,
|
17 |
+
"projection_dim": 1280,
|
18 |
+
"torch_dtype": "float16",
|
19 |
+
"transformers_version": "4.24.0"
|
20 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": 224,
|
3 |
+
"do_center_crop": true,
|
4 |
+
"do_normalize": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"image_processor_type": "CLIPImageProcessor",
|
7 |
+
"image_mean": [
|
8 |
+
0.48145466,
|
9 |
+
0.4578275,
|
10 |
+
0.40821073
|
11 |
+
],
|
12 |
+
"image_std": [
|
13 |
+
0.26862954,
|
14 |
+
0.26130258,
|
15 |
+
0.27577711
|
16 |
+
],
|
17 |
+
"resample": 3,
|
18 |
+
"size": 224
|
19 |
+
}
|