tontokoton
commited on
Commit
•
f09ab91
1
Parent(s):
f11bc51
End of training
Browse files- README.md +30 -15
- pytorch_model.bin +1 -1
- training_args.bin +1 -1
README.md
CHANGED
@@ -8,27 +8,35 @@ tags:
|
|
8 |
model-index:
|
9 |
- name: segformer-b0-finetuned-v0
|
10 |
results: []
|
11 |
-
pipeline_tag: image-segmentation
|
12 |
-
datasets:
|
13 |
-
- tontokoton/artery-ultrasound-siit
|
14 |
-
metrics:
|
15 |
-
- mean_iou
|
16 |
-
widget:
|
17 |
-
- src: >-
|
18 |
-
https://datasets-server.huggingface.co/assets/tontokoton/artery-ultrasound-siit/--/default/train/0/pixel_values/image.jpg
|
19 |
-
example_title: Ultrasound1
|
20 |
-
- src: >-
|
21 |
-
https://datasets-server.huggingface.co/assets/tontokoton/artery-ultrasound-siit/--/default/train/1/pixel_values/image.jpg
|
22 |
-
example_title: Ultrasound2
|
23 |
---
|
24 |
|
25 |
-
|
26 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
27 |
should probably proofread and complete it, then remove this comment. -->
|
28 |
|
29 |
# segformer-b0-finetuned-v0
|
30 |
|
31 |
This model is a fine-tuned version of [nvidia/mit-b0](https://huggingface.co/nvidia/mit-b0) on the tontokoton/artery-ultrasound-siit dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
## Model description
|
34 |
|
@@ -53,10 +61,17 @@ The following hyperparameters were used during training:
|
|
53 |
- seed: 42
|
54 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
55 |
- lr_scheduler_type: linear
|
56 |
-
- num_epochs:
|
57 |
|
58 |
### Training results
|
59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
|
61 |
|
62 |
### Framework versions
|
@@ -64,4 +79,4 @@ The following hyperparameters were used during training:
|
|
64 |
- Transformers 4.33.1
|
65 |
- Pytorch 2.0.1+cu118
|
66 |
- Datasets 2.14.5
|
67 |
-
- Tokenizers 0.13.3
|
|
|
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 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 1.5847
|
21 |
+
- Mean Iou: 0.1252
|
22 |
+
- Mean Accuracy: 0.2052
|
23 |
+
- Overall Accuracy: 0.2652
|
24 |
+
- Accuracy Artery: nan
|
25 |
+
- Accuracy Vein: 0.2256
|
26 |
+
- Accuracy Nerve: 0.0
|
27 |
+
- Accuracy Muscle1: 0.0
|
28 |
+
- Accuracy Muscle2: 0.3266
|
29 |
+
- Accuracy Muscle3: 0.0009
|
30 |
+
- Accuracy Muscle4: 0.6780
|
31 |
+
- Accuracy Unknown: nan
|
32 |
+
- Iou Artery: 0.0
|
33 |
+
- Iou Vein: 0.2256
|
34 |
+
- Iou Nerve: 0.0
|
35 |
+
- Iou Muscle1: 0.0
|
36 |
+
- Iou Muscle2: 0.2135
|
37 |
+
- Iou Muscle3: 0.0005
|
38 |
+
- Iou Muscle4: 0.4366
|
39 |
+
- Iou Unknown: nan
|
40 |
|
41 |
## Model description
|
42 |
|
|
|
61 |
- seed: 42
|
62 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
63 |
- lr_scheduler_type: linear
|
64 |
+
- num_epochs: 50
|
65 |
|
66 |
### Training results
|
67 |
|
68 |
+
| Training Loss | Epoch | Step | Validation Loss | Mean Iou | Mean Accuracy | Overall Accuracy | Accuracy Artery | Accuracy Vein | Accuracy Nerve | Accuracy Muscle1 | Accuracy Muscle2 | Accuracy Muscle3 | Accuracy Muscle4 | Accuracy Unknown | Iou Artery | Iou Vein | Iou Nerve | Iou Muscle1 | Iou Muscle2 | Iou Muscle3 | Iou Muscle4 | Iou Unknown |
|
69 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:-------------:|:----------------:|:---------------:|:-------------:|:--------------:|:----------------:|:----------------:|:----------------:|:----------------:|:----------------:|:----------:|:--------:|:---------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|
|
70 |
+
| 1.7835 | 10.0 | 10 | 1.9744 | 0.0620 | 0.1572 | 0.2117 | nan | 0.0834 | 0.0 | 0.0 | 0.2330 | 0.0002 | 0.6266 | nan | 0.0 | 0.0563 | 0.0 | 0.0 | 0.1422 | 0.0001 | 0.2975 | 0.0 |
|
71 |
+
| 1.4779 | 20.0 | 20 | 1.8578 | 0.0954 | 0.1794 | 0.2576 | nan | 0.0670 | 0.0 | 0.0 | 0.3099 | 0.0 | 0.6992 | nan | 0.0 | 0.0670 | 0.0 | 0.0 | 0.1857 | 0.0 | 0.4152 | nan |
|
72 |
+
| 1.3434 | 30.0 | 30 | 1.6759 | 0.1239 | 0.2014 | 0.2743 | nan | 0.1921 | 0.0 | 0.0 | 0.3566 | 0.0 | 0.6594 | nan | 0.0 | 0.1921 | 0.0 | 0.0 | 0.2244 | 0.0 | 0.4509 | nan |
|
73 |
+
| 1.2779 | 40.0 | 40 | 1.6276 | 0.1375 | 0.2263 | 0.3176 | nan | 0.2159 | 0.0 | 0.0 | 0.4348 | 0.0 | 0.7073 | nan | 0.0 | 0.2159 | 0.0 | 0.0 | 0.2784 | 0.0 | 0.4684 | nan |
|
74 |
+
| 1.1988 | 50.0 | 50 | 1.5847 | 0.1252 | 0.2052 | 0.2652 | nan | 0.2256 | 0.0 | 0.0 | 0.3266 | 0.0009 | 0.6780 | nan | 0.0 | 0.2256 | 0.0 | 0.0 | 0.2135 | 0.0005 | 0.4366 | nan |
|
75 |
|
76 |
|
77 |
### Framework versions
|
|
|
79 |
- Transformers 4.33.1
|
80 |
- Pytorch 2.0.1+cu118
|
81 |
- Datasets 2.14.5
|
82 |
+
- Tokenizers 0.13.3
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 14935053
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0737a7418a3d0f724186e67c2e15de0d61d13013ff5a955960cfd964afa0a76f
|
3 |
size 14935053
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4091
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0b71110c0084d0307cd31979d1a4376a35fe9b16d7035afc387e6cedf816ebdd
|
3 |
size 4091
|