Update preprocessor_config.json

This commit is contained in:
Niels Rogge 2021-11-17 14:43:07 +00:00 committed by huggingface-web
parent ad66f92b30
commit 684c733388
1 changed files with 2 additions and 16 deletions

View File

@ -1,12 +1,5 @@
{ {
"align": false,
"crop_size": [
512,
512
],
"do_normalize": true, "do_normalize": true,
"do_pad": false,
"do_random_crop": false,
"do_resize": true, "do_resize": true,
"feature_extractor_type": "SegformerFeatureExtractor", "feature_extractor_type": "SegformerFeatureExtractor",
"image_mean": [ "image_mean": [
@ -14,19 +7,12 @@
0.456, 0.456,
0.406 0.406
], ],
"image_scale": [
512,
512
],
"image_std": [ "image_std": [
0.229, 0.229,
0.224, 0.224,
0.225 0.225
], ],
"keep_ratio": false, "reduce_labels": true,
"padding_value": 0,
"reduce_zero_label": true,
"resample": 2, "resample": 2,
"segmentation_padding_value": -100, "size": 512
"size_divisor": 32
} }