Commit
•
c70d410
1
Parent(s):
89ee5df
Upload 2 files (#5)
Browse files- Upload 2 files (62da3ab79400eb21ae4558198652cc60f14f606c)
Co-authored-by: Daniel Gu <dg845@users.noreply.huggingface.co>
clip_image_processor/preprocessor_config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": {
|
3 |
+
"height": 224,
|
4 |
+
"width": 224
|
5 |
+
},
|
6 |
+
"do_center_crop": true,
|
7 |
+
"do_convert_rgb": true,
|
8 |
+
"do_normalize": true,
|
9 |
+
"do_rescale": true,
|
10 |
+
"do_resize": true,
|
11 |
+
"feature_extractor_type": "CLIPFeatureExtractor",
|
12 |
+
"image_mean": [
|
13 |
+
0.48145466,
|
14 |
+
0.4578275,
|
15 |
+
0.40821073
|
16 |
+
],
|
17 |
+
"image_processor_type": "CLIPImageProcessor",
|
18 |
+
"image_std": [
|
19 |
+
0.26862954,
|
20 |
+
0.26130258,
|
21 |
+
0.27577711
|
22 |
+
],
|
23 |
+
"resample": 3,
|
24 |
+
"rescale_factor": 0.00392156862745098,
|
25 |
+
"size": {
|
26 |
+
"shortest_edge": 224
|
27 |
+
}
|
28 |
+
}
|
model_index.json
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
{
|
2 |
"_class_name": "UniDiffuserPipeline",
|
3 |
-
"_diffusers_version": "0.
|
|
|
|
|
|
|
|
|
4 |
"clip_tokenizer": [
|
5 |
"transformers",
|
6 |
"CLIPTokenizer"
|
@@ -9,10 +13,6 @@
|
|
9 |
"transformers",
|
10 |
"CLIPVisionModelWithProjection"
|
11 |
],
|
12 |
-
"image_processor": [
|
13 |
-
"transformers",
|
14 |
-
"CLIPImageProcessor"
|
15 |
-
],
|
16 |
"scheduler": [
|
17 |
"diffusers",
|
18 |
"DPMSolverMultistepScheduler"
|
|
|
1 |
{
|
2 |
"_class_name": "UniDiffuserPipeline",
|
3 |
+
"_diffusers_version": "0.21.0.dev0",
|
4 |
+
"clip_image_processor": [
|
5 |
+
"transformers",
|
6 |
+
"CLIPImageProcessor"
|
7 |
+
],
|
8 |
"clip_tokenizer": [
|
9 |
"transformers",
|
10 |
"CLIPTokenizer"
|
|
|
13 |
"transformers",
|
14 |
"CLIPVisionModelWithProjection"
|
15 |
],
|
|
|
|
|
|
|
|
|
16 |
"scheduler": [
|
17 |
"diffusers",
|
18 |
"DPMSolverMultistepScheduler"
|