End of training
Browse files- README.md +79 -0
- config.json +88 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
base_model: nvidia/segformer-b0-finetuned-ade-512-512
|
4 |
+
tags:
|
5 |
+
- vision
|
6 |
+
- image-segmentation
|
7 |
+
- generated_from_trainer
|
8 |
+
model-index:
|
9 |
+
- name: segformer_finetuned_coasts
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# segformer_finetuned_coasts
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [nvidia/segformer-b0-finetuned-ade-512-512](https://huggingface.co/nvidia/segformer-b0-finetuned-ade-512-512) on the peldrak/coast dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.9618
|
21 |
+
- Mean Iou: 0.2104
|
22 |
+
- Mean Accuracy: 0.2661
|
23 |
+
- Overall Accuracy: 0.7259
|
24 |
+
- Accuracy Water: nan
|
25 |
+
- Accuracy Whitewater: 0.0519
|
26 |
+
- Accuracy Sediment: 0.0150
|
27 |
+
- Accuracy Other Natural Terrain: 0.0024
|
28 |
+
- Accuracy Vegetation: 0.5470
|
29 |
+
- Accuracy Development: 0.0259
|
30 |
+
- Accuracy Unknown: 0.9547
|
31 |
+
- Iou Water: 0.0
|
32 |
+
- Iou Whitewater: 0.0160
|
33 |
+
- Iou Sediment: 0.0134
|
34 |
+
- Iou Other Natural Terrain: 0.0022
|
35 |
+
- Iou Vegetation: 0.4628
|
36 |
+
- Iou Development: 0.0254
|
37 |
+
- Iou Unknown: 0.9532
|
38 |
+
|
39 |
+
## Model description
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Intended uses & limitations
|
44 |
+
|
45 |
+
More information needed
|
46 |
+
|
47 |
+
## Training and evaluation data
|
48 |
+
|
49 |
+
More information needed
|
50 |
+
|
51 |
+
## Training procedure
|
52 |
+
|
53 |
+
### Training hyperparameters
|
54 |
+
|
55 |
+
The following hyperparameters were used during training:
|
56 |
+
- learning_rate: 6e-05
|
57 |
+
- train_batch_size: 4
|
58 |
+
- eval_batch_size: 4
|
59 |
+
- seed: 42
|
60 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
61 |
+
- lr_scheduler_type: linear
|
62 |
+
- num_epochs: 0.05
|
63 |
+
|
64 |
+
### Training results
|
65 |
+
|
66 |
+
| Training Loss | Epoch | Step | Validation Loss | Mean Iou | Mean Accuracy | Overall Accuracy | Accuracy Water | Accuracy Whitewater | Accuracy Sediment | Accuracy Other Natural Terrain | Accuracy Vegetation | Accuracy Development | Accuracy Unknown | Iou Water | Iou Whitewater | Iou Sediment | Iou Other Natural Terrain | Iou Vegetation | Iou Development | Iou Unknown |
|
67 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:-------------:|:----------------:|:--------------:|:-------------------:|:-----------------:|:------------------------------:|:-------------------:|:--------------------:|:----------------:|:---------:|:--------------:|:------------:|:-------------------------:|:--------------:|:---------------:|:-----------:|
|
68 |
+
| 1.7548 | 0.01 | 20 | 1.3306 | 0.1980 | 0.3291 | 0.6833 | nan | 0.5156 | 0.0933 | 0.0701 | 0.2872 | 0.0553 | 0.9531 | 0.0 | 0.0267 | 0.0755 | 0.0363 | 0.2664 | 0.0349 | 0.9461 |
|
69 |
+
| 1.5812 | 0.02 | 40 | 1.0977 | 0.2226 | 0.2976 | 0.7293 | nan | 0.1333 | 0.0446 | 0.0449 | 0.5497 | 0.0618 | 0.9509 | 0.0 | 0.0191 | 0.0357 | 0.0298 | 0.4724 | 0.0520 | 0.9489 |
|
70 |
+
| 1.3861 | 0.04 | 60 | 1.0240 | 0.2251 | 0.2920 | 0.7480 | nan | 0.0760 | 0.0161 | 0.0261 | 0.6433 | 0.0341 | 0.9564 | 0.0 | 0.0162 | 0.0144 | 0.0189 | 0.5387 | 0.0327 | 0.9549 |
|
71 |
+
| 1.023 | 0.05 | 80 | 0.9618 | 0.2104 | 0.2661 | 0.7259 | nan | 0.0519 | 0.0150 | 0.0024 | 0.5470 | 0.0259 | 0.9547 | 0.0 | 0.0160 | 0.0134 | 0.0022 | 0.4628 | 0.0254 | 0.9532 |
|
72 |
+
|
73 |
+
|
74 |
+
### Framework versions
|
75 |
+
|
76 |
+
- Transformers 4.33.0
|
77 |
+
- Pytorch 2.0.0
|
78 |
+
- Datasets 2.1.0
|
79 |
+
- Tokenizers 0.13.3
|
config.json
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "nvidia/segformer-b0-finetuned-ade-512-512",
|
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,
|
17 |
+
4,
|
18 |
+
8,
|
19 |
+
16
|
20 |
+
],
|
21 |
+
"drop_path_rate": 0.1,
|
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": "water",
|
32 |
+
"1": "whitewater",
|
33 |
+
"2": "sediment",
|
34 |
+
"3": "other_natural_terrain",
|
35 |
+
"4": "vegetation",
|
36 |
+
"5": "development",
|
37 |
+
"6": "unknown"
|
38 |
+
},
|
39 |
+
"image_size": 224,
|
40 |
+
"initializer_range": 0.02,
|
41 |
+
"label2id": {
|
42 |
+
"development": 5,
|
43 |
+
"other_natural_terrain": 3,
|
44 |
+
"sediment": 2,
|
45 |
+
"unknown": 6,
|
46 |
+
"vegetation": 4,
|
47 |
+
"water": 0,
|
48 |
+
"whitewater": 1
|
49 |
+
},
|
50 |
+
"layer_norm_eps": 1e-06,
|
51 |
+
"mlp_ratios": [
|
52 |
+
4,
|
53 |
+
4,
|
54 |
+
4,
|
55 |
+
4
|
56 |
+
],
|
57 |
+
"model_type": "segformer",
|
58 |
+
"num_attention_heads": [
|
59 |
+
1,
|
60 |
+
2,
|
61 |
+
5,
|
62 |
+
8
|
63 |
+
],
|
64 |
+
"num_channels": 3,
|
65 |
+
"num_encoder_blocks": 4,
|
66 |
+
"patch_sizes": [
|
67 |
+
7,
|
68 |
+
3,
|
69 |
+
3,
|
70 |
+
3
|
71 |
+
],
|
72 |
+
"reshape_last_stage": true,
|
73 |
+
"semantic_loss_ignore_index": 255,
|
74 |
+
"sr_ratios": [
|
75 |
+
8,
|
76 |
+
4,
|
77 |
+
2,
|
78 |
+
1
|
79 |
+
],
|
80 |
+
"strides": [
|
81 |
+
4,
|
82 |
+
2,
|
83 |
+
2,
|
84 |
+
2
|
85 |
+
],
|
86 |
+
"torch_dtype": "float32",
|
87 |
+
"transformers_version": "4.33.0"
|
88 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f249282da88170d0b5276bfbf881efe84839414ef61680bc1027323748af77ce
|
3 |
+
size 14936909
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f9589179fb450f464fed47454026884ecf7162585cdfe4f63dc60aba54c6e280
|
3 |
+
size 4091
|