Shoriful025 commited on
Commit
ecf79f6
·
verified ·
1 Parent(s): 00872fd

Create config.json

Browse files
Files changed (1) hide show
  1. config.json +41 -0
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SegformerForSemanticSegmentation"
4
+ ],
5
+ "classifier_dropout_prob": 0.1,
6
+ "decoder_hidden_size": 256,
7
+ "depths": [2, 2, 2, 2],
8
+ "drop_path_rate": 0.1,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.0,
11
+ "hidden_sizes": [32, 64, 160, 256],
12
+ "id2label": {
13
+ "0": "background",
14
+ "1": "dense_forest",
15
+ "2": "sparse_vegetation",
16
+ "3": "deforested_area",
17
+ "4": "water_body",
18
+ "5": "urban_infrastructure"
19
+ },
20
+ "image_size": 512,
21
+ "initializer_range": 0.02,
22
+ "label2id": {
23
+ "background": 0,
24
+ "dense_forest": 1,
25
+ "deforested_area": 3,
26
+ "sparse_vegetation": 2,
27
+ "urban_infrastructure": 5,
28
+ "water_body": 4
29
+ },
30
+ "layer_norm_eps": 1e-06,
31
+ "mlp_ratios": [4, 4, 4, 4],
32
+ "model_type": "segformer",
33
+ "num_attention_heads": [1, 2, 5, 8],
34
+ "num_encoder_blocks": 4,
35
+ "patch_sizes": [7, 3, 3, 3],
36
+ "reshape_last_stage": true,
37
+ "sr_ratios": [8, 4, 2, 1],
38
+ "strides": [4, 2, 2, 2],
39
+ "torch_dtype": "float32",
40
+ "transformers_version": "4.30.2"
41
+ }