crocutacrocuto
commited on
Commit
•
30944da
1
Parent(s):
0efe320
Upload processor
Browse files- preprocessor_config.json +37 -0
preprocessor_config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"do_resize",
|
5 |
+
"size",
|
6 |
+
"crop_pct",
|
7 |
+
"resample",
|
8 |
+
"do_rescale",
|
9 |
+
"rescale_factor",
|
10 |
+
"do_normalize",
|
11 |
+
"image_mean",
|
12 |
+
"image_std",
|
13 |
+
"return_tensors",
|
14 |
+
"data_format",
|
15 |
+
"input_data_format"
|
16 |
+
],
|
17 |
+
"crop_pct": 0.875,
|
18 |
+
"do_normalize": true,
|
19 |
+
"do_rescale": true,
|
20 |
+
"do_resize": true,
|
21 |
+
"image_mean": [
|
22 |
+
0.485,
|
23 |
+
0.456,
|
24 |
+
0.406
|
25 |
+
],
|
26 |
+
"image_processor_type": "ConvNextImageProcessor",
|
27 |
+
"image_std": [
|
28 |
+
0.229,
|
29 |
+
0.224,
|
30 |
+
0.225
|
31 |
+
],
|
32 |
+
"resample": 3,
|
33 |
+
"rescale_factor": 0.00392156862745098,
|
34 |
+
"size": {
|
35 |
+
"shortest_edge": 224
|
36 |
+
}
|
37 |
+
}
|