samitizerxu
commited on
Commit
•
e08b2cd
1
Parent(s):
2ffa581
End of training
Browse files- README.md +65 -0
- config.json +78 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
base_model: nvidia/mit-b1
|
4 |
+
tags:
|
5 |
+
- vision
|
6 |
+
- image-segmentation
|
7 |
+
- generated_from_trainer
|
8 |
+
datasets:
|
9 |
+
- kelp_data
|
10 |
+
model-index:
|
11 |
+
- name: segformer-b1-kelp-rgb-agg-imgaug-jan-22
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# segformer-b1-kelp-rgb-agg-imgaug-jan-22
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [nvidia/mit-b1](https://huggingface.co/nvidia/mit-b1) on the samitizerxu/kelp_data dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- eval_accuracy_kelp: nan
|
23 |
+
- eval_iou_kelp: 0.0
|
24 |
+
- eval_loss: 0.3223
|
25 |
+
- eval_mean_iou: 0.0205
|
26 |
+
- eval_mean_accuracy: 0.0410
|
27 |
+
- eval_overall_accuracy: 0.0410
|
28 |
+
- eval_runtime: 62.0057
|
29 |
+
- eval_samples_per_second: 27.272
|
30 |
+
- eval_steps_per_second: 3.419
|
31 |
+
- epoch: 1.16
|
32 |
+
- step: 570
|
33 |
+
|
34 |
+
## Model description
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Intended uses & limitations
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Training and evaluation data
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training procedure
|
47 |
+
|
48 |
+
### Training hyperparameters
|
49 |
+
|
50 |
+
The following hyperparameters were used during training:
|
51 |
+
- learning_rate: 6e-05
|
52 |
+
- train_batch_size: 8
|
53 |
+
- eval_batch_size: 8
|
54 |
+
- seed: 42
|
55 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
56 |
+
- lr_scheduler_type: linear
|
57 |
+
- lr_scheduler_warmup_ratio: 0.2
|
58 |
+
- num_epochs: 40
|
59 |
+
|
60 |
+
### Framework versions
|
61 |
+
|
62 |
+
- Transformers 4.36.2
|
63 |
+
- Pytorch 2.1.2+cu121
|
64 |
+
- Datasets 2.16.1
|
65 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "nvidia/mit-b1",
|
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 |
+
64,
|
26 |
+
128,
|
27 |
+
320,
|
28 |
+
512
|
29 |
+
],
|
30 |
+
"id2label": {
|
31 |
+
"0": "background",
|
32 |
+
"1": "kelp"
|
33 |
+
},
|
34 |
+
"image_size": 224,
|
35 |
+
"initializer_range": 0.02,
|
36 |
+
"label2id": {
|
37 |
+
"background": 0,
|
38 |
+
"kelp": 1
|
39 |
+
},
|
40 |
+
"layer_norm_eps": 1e-06,
|
41 |
+
"mlp_ratios": [
|
42 |
+
4,
|
43 |
+
4,
|
44 |
+
4,
|
45 |
+
4
|
46 |
+
],
|
47 |
+
"model_type": "segformer",
|
48 |
+
"num_attention_heads": [
|
49 |
+
1,
|
50 |
+
2,
|
51 |
+
5,
|
52 |
+
8
|
53 |
+
],
|
54 |
+
"num_channels": 3,
|
55 |
+
"num_encoder_blocks": 4,
|
56 |
+
"patch_sizes": [
|
57 |
+
7,
|
58 |
+
3,
|
59 |
+
3,
|
60 |
+
3
|
61 |
+
],
|
62 |
+
"reshape_last_stage": true,
|
63 |
+
"semantic_loss_ignore_index": 255,
|
64 |
+
"sr_ratios": [
|
65 |
+
8,
|
66 |
+
4,
|
67 |
+
2,
|
68 |
+
1
|
69 |
+
],
|
70 |
+
"strides": [
|
71 |
+
4,
|
72 |
+
2,
|
73 |
+
2,
|
74 |
+
2
|
75 |
+
],
|
76 |
+
"torch_dtype": "float32",
|
77 |
+
"transformers_version": "4.36.2"
|
78 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9df7384fd9bc84594a7ff0356f321c3c5f504ab4038fe6fc42ce44f7c4d6317b
|
3 |
+
size 54737376
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9c965dc55995ab8c95c3d7be2831d638d5918d6d075807dd18efbd2314875db9
|
3 |
+
size 4792
|