Upload processor
Browse files- README.md +3 -3
- preprocessor_config.json +28 -0
README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
---
|
|
|
|
| 2 |
library_name: transformers
|
| 3 |
license: apache-2.0
|
| 4 |
-
base_model: microsoft/swinv2-base-patch4-window16-256
|
| 5 |
-
tags:
|
| 6 |
-
- generated_from_trainer
|
| 7 |
metrics:
|
| 8 |
- f1
|
|
|
|
|
|
|
| 9 |
model-index:
|
| 10 |
- name: SwinV2-Base-Image-Orientation-Fixer
|
| 11 |
results: []
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: microsoft/swinv2-base-patch4-window16-256
|
| 3 |
library_name: transformers
|
| 4 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
| 5 |
metrics:
|
| 6 |
- f1
|
| 7 |
+
tags:
|
| 8 |
+
- generated_from_trainer
|
| 9 |
model-index:
|
| 10 |
- name: SwinV2-Base-Image-Orientation-Fixer
|
| 11 |
results: []
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": {
|
| 3 |
+
"height": 224,
|
| 4 |
+
"width": 224
|
| 5 |
+
},
|
| 6 |
+
"do_center_crop": false,
|
| 7 |
+
"do_normalize": true,
|
| 8 |
+
"do_reduce_labels": false,
|
| 9 |
+
"do_rescale": true,
|
| 10 |
+
"do_resize": true,
|
| 11 |
+
"image_mean": [
|
| 12 |
+
0.5,
|
| 13 |
+
0.5,
|
| 14 |
+
0.5
|
| 15 |
+
],
|
| 16 |
+
"image_processor_type": "BeitImageProcessor",
|
| 17 |
+
"image_std": [
|
| 18 |
+
0.5,
|
| 19 |
+
0.5,
|
| 20 |
+
0.5
|
| 21 |
+
],
|
| 22 |
+
"resample": 2,
|
| 23 |
+
"rescale_factor": 0.00392156862745098,
|
| 24 |
+
"size": {
|
| 25 |
+
"height": 384,
|
| 26 |
+
"width": 384
|
| 27 |
+
}
|
| 28 |
+
}
|