as-cle-bert
commited on
Commit
•
d69457a
1
Parent(s):
5043594
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
base_model: nvidia/segformer-b0-finetuned-cityscapes-1024-1024
|
4 |
+
tags:
|
5 |
+
- vision
|
6 |
+
- image-segmentation
|
7 |
+
- generated_from_trainer
|
8 |
+
model-index:
|
9 |
+
- name: segformer-v1-breastcancer
|
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-v1-breastcancer
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [nvidia/segformer-b0-finetuned-cityscapes-1024-1024](https://huggingface.co/nvidia/segformer-b0-finetuned-cityscapes-1024-1024) on the as-cle-bert/breastcancer-semantic-segmentation dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.2084
|
21 |
+
- Mean Iou: 0.6074
|
22 |
+
- Mean Accuracy: 0.7133
|
23 |
+
- Overall Accuracy: 0.6718
|
24 |
+
- Per Category Iou: [0.6503515075769412, 0.5644565972298056]
|
25 |
+
- Per Category Accuracy: [0.7843872475128127, 0.6421245639664888]
|
26 |
+
|
27 |
+
## Model description
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Intended uses & limitations
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training and evaluation data
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Training procedure
|
40 |
+
|
41 |
+
### Training hyperparameters
|
42 |
+
|
43 |
+
The following hyperparameters were used during training:
|
44 |
+
- learning_rate: 6e-05
|
45 |
+
- train_batch_size: 3
|
46 |
+
- eval_batch_size: 3
|
47 |
+
- seed: 42
|
48 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
49 |
+
- lr_scheduler_type: linear
|
50 |
+
- num_epochs: 50
|
51 |
+
|
52 |
+
### Training results
|
53 |
+
|
54 |
+
| Training Loss | Epoch | Step | Validation Loss | Mean Iou | Mean Accuracy | Overall Accuracy | Per Category Iou | Per Category Accuracy |
|
55 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:-------------:|:----------------:|:---------------------------------------------:|:---------------------------------------------:|
|
56 |
+
| 1.0349 | 1.82 | 20 | 0.9385 | 0.1001 | 0.3453 | 0.5410 | [0.00702490904002239, 0.19315512632820392] | [0.00945884835694905, 0.6811663337407948] |
|
57 |
+
| 0.8631 | 3.64 | 40 | 0.8712 | 0.1270 | 0.3748 | 0.5931 | [9.482867619168036e-05, 0.25396146547703435] | [0.00011305396442568585, 0.7494807350208202] |
|
58 |
+
| 0.6657 | 5.45 | 60 | 0.6510 | 0.1313 | 0.2115 | 0.3347 | [0.00014806040864672785, 0.26239433754030744] | [0.00015073861923424781, 0.42294505232402135] |
|
59 |
+
| 0.6924 | 7.27 | 80 | 0.5721 | 0.1917 | 0.3061 | 0.4833 | [0.002107933665379521, 0.38125252274350296] | [0.0021291829966837506, 0.6101487731433172] |
|
60 |
+
| 0.5177 | 9.09 | 100 | 0.4836 | 0.1991 | 0.3081 | 0.4876 | [0.0, 0.3981538560328774] | [0.0, 0.6162060363932699] |
|
61 |
+
| 0.3851 | 10.91 | 120 | 0.4029 | 0.2127 | 0.2893 | 0.4440 | [0.023690796530116853, 0.40166184061437743] | [0.02372249020198975, 0.5548632022499826] |
|
62 |
+
| 0.3266 | 12.73 | 140 | 0.3811 | 0.2300 | 0.3350 | 0.5130 | [0.028268806709322924, 0.43178856750464767] | [0.02946940006029545, 0.6405295012074774] |
|
63 |
+
| 0.3397 | 14.55 | 160 | 0.3353 | 0.2616 | 0.3719 | 0.5640 | [0.04190433583118965, 0.4812188969936601] | [0.042357552004823634, 0.7015294713932202] |
|
64 |
+
| 0.3008 | 16.36 | 180 | 0.3363 | 0.3885 | 0.4376 | 0.4135 | [0.4227194892852987, 0.35420100310527275] | [0.47910385890865237, 0.3961867565069616] |
|
65 |
+
| 0.2558 | 18.18 | 200 | 0.3163 | 0.4200 | 0.4832 | 0.4322 | [0.48242302607476784, 0.35761699452079404] | [0.570677570093458, 0.3956699760492134] |
|
66 |
+
| 0.2686 | 20.0 | 220 | 0.2771 | 0.4777 | 0.5444 | 0.5868 | [0.4603203796001692, 0.49515000498355427] | [0.4716046126017486, 0.6171352474086441] |
|
67 |
+
| 0.1953 | 21.82 | 240 | 0.2811 | 0.4756 | 0.5676 | 0.5920 | [0.46844517569632155, 0.4827354154204578] | [0.5257386192342478, 0.6095276427854467] |
|
68 |
+
| 0.1623 | 23.64 | 260 | 0.2612 | 0.4833 | 0.5416 | 0.5447 | [0.506478482184174, 0.46020570281796136] | [0.5361961109436237, 0.5469524860121443] |
|
69 |
+
| 0.1851 | 25.45 | 280 | 0.2620 | 0.5107 | 0.5880 | 0.5313 | [0.5881106780729983, 0.4333538137452822] | [0.6852389207114863, 0.49066316846049113] |
|
70 |
+
| 0.1315 | 27.27 | 300 | 0.2230 | 0.6652 | 0.7361 | 0.6967 | [0.7577948727059535, 0.5726185409040606] | [0.8037006331022007, 0.6684903053973743] |
|
71 |
+
| 0.1294 | 29.09 | 320 | 0.2330 | 0.5189 | 0.6179 | 0.6328 | [0.506419446816051, 0.5313992809888866] | [0.5923462466083811, 0.6434165151108594] |
|
72 |
+
| 0.1532 | 30.91 | 340 | 0.2326 | 0.5319 | 0.6251 | 0.6503 | [0.5461152173144251, 0.5176845532961513] | [0.581945281881218, 0.6683163888971706] |
|
73 |
+
| 0.1074 | 32.73 | 360 | 0.2280 | 0.5790 | 0.6418 | 0.5960 | [0.6624514966740577, 0.4955288623414331] | [0.7205682845945132, 0.5631018753167765] |
|
74 |
+
| 0.1184 | 34.55 | 380 | 0.2168 | 0.6385 | 0.7453 | 0.7145 | [0.7140882114917724, 0.5629577265658137] | [0.7980479348809165, 0.6925007205112151] |
|
75 |
+
| 0.1411 | 36.36 | 400 | 0.2191 | 0.5935 | 0.6776 | 0.6459 | [0.6633485862587079, 0.5236754959973609] | [0.7320432619837203, 0.6231328821442413] |
|
76 |
+
| 0.1224 | 38.18 | 420 | 0.2068 | 0.6114 | 0.6869 | 0.6689 | [0.6632029659025639, 0.5596692813228747] | [0.717949201085318, 0.6559037198254872] |
|
77 |
+
| 0.0892 | 40.0 | 440 | 0.2096 | 0.5867 | 0.6817 | 0.6756 | [0.6250170137471076, 0.548339821945447] | [0.692191739523666, 0.6711785575862378] |
|
78 |
+
| 0.103 | 41.82 | 460 | 0.2117 | 0.5693 | 0.6553 | 0.6511 | [0.6029494984137872, 0.5356447598629901] | [0.6625150738619234, 0.6480725082734564] |
|
79 |
+
| 0.0996 | 43.64 | 480 | 0.2082 | 0.6011 | 0.7024 | 0.6743 | [0.6408627400521119, 0.5614076241331366] | [0.7507725354235755, 0.6540800810947796] |
|
80 |
+
| 0.1095 | 45.45 | 500 | 0.2065 | 0.6254 | 0.7302 | 0.6836 | [0.6779631615467104, 0.5728211009174312] | [0.8100504974374435, 0.6502936704332012] |
|
81 |
+
| 0.097 | 47.27 | 520 | 0.2083 | 0.6079 | 0.7042 | 0.6628 | [0.6564823383005202, 0.5592888498683055] | [0.7753052457039493, 0.6330858749987578] |
|
82 |
+
| 0.0866 | 49.09 | 540 | 0.2084 | 0.6074 | 0.7133 | 0.6718 | [0.6503515075769412, 0.5644565972298056] | [0.7843872475128127, 0.6421245639664888] |
|
83 |
+
|
84 |
+
|
85 |
+
### Framework versions
|
86 |
+
|
87 |
+
- Transformers 4.38.2
|
88 |
+
- Pytorch 2.2.1+cu121
|
89 |
+
- Datasets 2.18.0
|
90 |
+
- Tokenizers 0.15.2
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 14885804
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8bd829fd4bde8e9dc6cc056fe13a06e9d23206f610dd143ec5d66eaf32f8d21e
|
3 |
size 14885804
|
runs/Apr01_13-01-33_e8f0f59ba778/events.out.tfevents.1711976498.e8f0f59ba778.170.5
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:b0fc3c1a1ae689d4160fc152f2f577d3ab07913c513295de9f5a317034f24f9e
|
3 |
+
size 132907
|