Upload SegformerForSemanticSegmentation
Browse files- README.md +1 -1
- config.json +13 -13
- 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-
|
3 |
"architectures": [
|
4 |
"SegformerForSemanticSegmentation"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.0,
|
7 |
"classifier_dropout_prob": 0.1,
|
8 |
-
"decoder_hidden_size":
|
9 |
"depths": [
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
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 |
-
|
28 |
-
|
|
|
29 |
],
|
30 |
"id2label": {
|
31 |
-
"0": "
|
32 |
-
"1": "
|
33 |
},
|
34 |
"image_size": 224,
|
35 |
"initializer_range": 0.02,
|
36 |
"label2id": {
|
37 |
-
"
|
38 |
-
"
|
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:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:18e8212361a3eb79711a98f5d60caff582722e47c761ea6db50242affa2d5772
|
3 |
+
size 338603704
|