tontokoton commited on
Commit
ab6262a
1 Parent(s): 3cd2c0a

End of training

Browse files
Files changed (4) hide show
  1. README.md +54 -0
  2. config.json +90 -0
  3. pytorch_model.bin +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ base_model: nvidia/mit-b0
4
+ tags:
5
+ - vision
6
+ - image-segmentation
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: segformer-b0-finetuned-v0
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-b0-finetuned-v0
17
+
18
+ This model is a fine-tuned version of [nvidia/mit-b0](https://huggingface.co/nvidia/mit-b0) on the tontokoton/artery-ultrasound-siit dataset.
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 6e-05
38
+ - train_batch_size: 2
39
+ - eval_batch_size: 2
40
+ - seed: 42
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: linear
43
+ - num_epochs: 5
44
+
45
+ ### Training results
46
+
47
+
48
+
49
+ ### Framework versions
50
+
51
+ - Transformers 4.33.1
52
+ - Pytorch 2.0.1+cu118
53
+ - Datasets 2.14.5
54
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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,
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
+ "1": "artery",
32
+ "2": "vein",
33
+ "3": "nerve",
34
+ "4": "muscle1",
35
+ "5": "muscle2",
36
+ "6": "muscle3",
37
+ "7": "muscle4",
38
+ "8": "unknown"
39
+ },
40
+ "image_size": 224,
41
+ "initializer_range": 0.02,
42
+ "label2id": {
43
+ "artery": 1,
44
+ "muscle1": 4,
45
+ "muscle2": 5,
46
+ "muscle3": 6,
47
+ "muscle4": 7,
48
+ "nerve": 3,
49
+ "unknown": 8,
50
+ "vein": 2
51
+ },
52
+ "layer_norm_eps": 1e-06,
53
+ "mlp_ratios": [
54
+ 4,
55
+ 4,
56
+ 4,
57
+ 4
58
+ ],
59
+ "model_type": "segformer",
60
+ "num_attention_heads": [
61
+ 1,
62
+ 2,
63
+ 5,
64
+ 8
65
+ ],
66
+ "num_channels": 3,
67
+ "num_encoder_blocks": 4,
68
+ "patch_sizes": [
69
+ 7,
70
+ 3,
71
+ 3,
72
+ 3
73
+ ],
74
+ "reshape_last_stage": true,
75
+ "semantic_loss_ignore_index": 255,
76
+ "sr_ratios": [
77
+ 8,
78
+ 4,
79
+ 2,
80
+ 1
81
+ ],
82
+ "strides": [
83
+ 4,
84
+ 2,
85
+ 2,
86
+ 2
87
+ ],
88
+ "torch_dtype": "float32",
89
+ "transformers_version": "4.33.1"
90
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0fdf5e38552aff80eaa360704416754e739f953a5f6c61ce314749508482bda6
3
+ size 14935053
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:719dcf3d55a3acea5149c0f2dd53ede251ceaff3fe443ba125d10e3e9001fcb3
3
+ size 4091