pruhtopia commited on
Commit
f2350c1
1 Parent(s): 343acf0

Upload SegformerForSemanticSegmentation

Browse files
Files changed (3) hide show
  1. README.md +1 -1
  2. config.json +13 -13
  3. model.safetensors +2 -2
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
- library_name: transformers
3
  license: apache-2.0
 
4
  datasets:
5
  - pruhtopia/mangrove-loss-dataset
6
  pipeline_tag: image-segmentation
 
1
  ---
 
2
  license: apache-2.0
3
+ library_name: transformers
4
  datasets:
5
  - pruhtopia/mangrove-loss-dataset
6
  pipeline_tag: image-segmentation
config.json CHANGED
@@ -1,16 +1,16 @@
1
  {
2
- "_name_or_path": "nvidia/mit-b0",
3
  "architectures": [
4
  "SegformerForSemanticSegmentation"
5
  ],
6
  "attention_probs_dropout_prob": 0.0,
7
  "classifier_dropout_prob": 0.1,
8
- "decoder_hidden_size": 256,
9
  "depths": [
10
- 2,
11
- 2,
12
- 2,
13
- 2
14
  ],
15
  "downsampling_rates": [
16
  1,
@@ -22,20 +22,20 @@
22
  "hidden_act": "gelu",
23
  "hidden_dropout_prob": 0.0,
24
  "hidden_sizes": [
25
- 32,
26
  64,
27
- 160,
28
- 256
 
29
  ],
30
  "id2label": {
31
- "0": "background",
32
- "1": "loss"
33
  },
34
  "image_size": 224,
35
  "initializer_range": 0.02,
36
  "label2id": {
37
- "background": 0,
38
- "loss": 1
39
  },
40
  "layer_norm_eps": 1e-06,
41
  "mlp_ratios": [
 
1
  {
2
+ "_name_or_path": "nvidia/mit-b5",
3
  "architectures": [
4
  "SegformerForSemanticSegmentation"
5
  ],
6
  "attention_probs_dropout_prob": 0.0,
7
  "classifier_dropout_prob": 0.1,
8
+ "decoder_hidden_size": 768,
9
  "depths": [
10
+ 3,
11
+ 6,
12
+ 40,
13
+ 3
14
  ],
15
  "downsampling_rates": [
16
  1,
 
22
  "hidden_act": "gelu",
23
  "hidden_dropout_prob": 0.0,
24
  "hidden_sizes": [
 
25
  64,
26
+ 128,
27
+ 320,
28
+ 512
29
  ],
30
  "id2label": {
31
+ "0": "nomangrove",
32
+ "1": "mangrove"
33
  },
34
  "image_size": 224,
35
  "initializer_range": 0.02,
36
  "label2id": {
37
+ "mangrove": 1,
38
+ "nomangrove": 0
39
  },
40
  "layer_norm_eps": 1e-06,
41
  "mlp_ratios": [
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:db43ce7813f6e8c77ff6a01f8dd81429d52550a9b8d7b1b3b8e7ed9c2e204557
3
- size 14884776
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18e8212361a3eb79711a98f5d60caff582722e47c761ea6db50242affa2d5772
3
+ size 338603704