nielsr HF staff commited on
Commit
e60a9a0
1 Parent(s): c34174c

Update model

Browse files
Files changed (3) hide show
  1. config.json +3 -2
  2. preprocessor_config.json +3 -2
  3. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "architectures": [
3
- "SegFormerForImageClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.0,
6
  "classifier_dropout_prob": 0.1,
@@ -2053,6 +2053,7 @@
2053
  3,
2054
  3
2055
  ],
 
2056
  "sr_ratios": [
2057
  8,
2058
  4,
@@ -2066,5 +2067,5 @@
2066
  2
2067
  ],
2068
  "torch_dtype": "float32",
2069
- "transformers_version": "4.9.0.dev0"
2070
  }
 
1
  {
2
  "architectures": [
3
+ "SegformerForImageClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.0,
6
  "classifier_dropout_prob": 0.1,
 
2053
  3,
2054
  3
2055
  ],
2056
+ "reshape_last_stage": false,
2057
  "sr_ratios": [
2058
  8,
2059
  4,
 
2067
  2
2068
  ],
2069
  "torch_dtype": "float32",
2070
+ "transformers_version": "4.12.0.dev0"
2071
  }
preprocessor_config.json CHANGED
@@ -8,7 +8,7 @@
8
  "do_pad": true,
9
  "do_random_crop": false,
10
  "do_resize": true,
11
- "feature_extractor_type": "SegFormerFeatureExtractor",
12
  "image_mean": [
13
  0.485,
14
  0.456,
@@ -25,7 +25,8 @@
25
  ],
26
  "keep_ratio": false,
27
  "padding_value": 0,
 
28
  "resample": 2,
29
- "segmentation_padding_value": 255,
30
  "size_divisor": 32
31
  }
 
8
  "do_pad": true,
9
  "do_random_crop": false,
10
  "do_resize": true,
11
+ "feature_extractor_type": "SegformerFeatureExtractor",
12
  "image_mean": [
13
  0.485,
14
  0.456,
 
25
  ],
26
  "keep_ratio": false,
27
  "padding_value": 0,
28
+ "reduce_zero_label": false,
29
  "resample": 2,
30
+ "segmentation_padding_value": -100,
31
  "size_divisor": 32
32
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7951a7646b58b894173d19f1cb50f7041feee5c13f681400afcabd5319aa0802
3
- size 14384639
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4af8348c2a802bf76115d34797ff5ce1d9f110bb8593c22d9b66d8bd7fa227fc
3
+ size 14380029