Upload 2 files
Browse files- image_processor/preprocessor_config.json +24 -0
- model_index.json +1 -1
image_processor/preprocessor_config.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_center_crop": true,
|
3 |
+
"do_convert_rgb": true,
|
4 |
+
"do_normalize": true,
|
5 |
+
"do_rescale": true,
|
6 |
+
"do_resize": true,
|
7 |
+
"image_mean": [
|
8 |
+
0.48145466,
|
9 |
+
0.4578275,
|
10 |
+
0.40821073
|
11 |
+
],
|
12 |
+
"image_processor_type": "BlipImageProcessor",
|
13 |
+
"image_std": [
|
14 |
+
0.26862954,
|
15 |
+
0.26130258,
|
16 |
+
0.27577711
|
17 |
+
],
|
18 |
+
"resample": 3,
|
19 |
+
"rescale_factor": 0.00392156862745098,
|
20 |
+
"size": {
|
21 |
+
"height": 224,
|
22 |
+
"width": 224
|
23 |
+
}
|
24 |
+
}
|
model_index.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
"_diffusers_version": "0.18.0.dev0",
|
4 |
"ctx_begin_pos": 2,
|
5 |
"image_processor": [
|
6 |
-
"
|
7 |
"BlipImageProcessor"
|
8 |
],
|
9 |
"mean": [
|
|
|
3 |
"_diffusers_version": "0.18.0.dev0",
|
4 |
"ctx_begin_pos": 2,
|
5 |
"image_processor": [
|
6 |
+
"blip_diffusion",
|
7 |
"BlipImageProcessor"
|
8 |
],
|
9 |
"mean": [
|