best_model.pt
Browse files- README.md +69 -0
- config.json +24 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- accuracy
|
7 |
+
- f1
|
8 |
+
model-index:
|
9 |
+
- name: windowz_020625
|
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 |
+
# windowz_020625
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Accuracy: 0.9891
|
21 |
+
- F1: 0.9871
|
22 |
+
- Iou: 0.9786
|
23 |
+
- Contour Dice: 0.9923
|
24 |
+
- Per Class Metrics: {0: {'f1': 0.99741, 'iou': 0.99483, 'accuracy': 0.99611, 'contour_dice': 0.99741}, 1: {'f1': 0.97774, 'iou': 0.95645, 'accuracy': 0.98909, 'contour_dice': 0.97774}, 2: {'f1': 0.41176, 'iou': 0.25926, 'accuracy': 0.99298, 'contour_dice': 0.41176}}
|
25 |
+
- Loss: 0.0301
|
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: 5e-05
|
45 |
+
- train_batch_size: 16
|
46 |
+
- eval_batch_size: 16
|
47 |
+
- seed: 42
|
48 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
49 |
+
- lr_scheduler_type: cosine
|
50 |
+
- lr_scheduler_warmup_steps: 1000
|
51 |
+
- num_epochs: 100
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
| Training Loss | Epoch | Step | | Dice | Class Metrics | Validation Loss |
|
56 |
+
|:-------------:|:-----:|:-----:|:------:|:------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:---------------:|
|
57 |
+
| 0.4629 | 5.0 | 12815 | 0.9623 | 0.9725 | {0: {'f1': 0.99106, 'iou': 0.98228, 'accuracy': 0.98651, 'contour_dice': 0.99106}, 1: {'f1': 0.96086, 'iou': 0.92467, 'accuracy': 0.9813, 'contour_dice': 0.96086}, 2: {'f1': 0.51615, 'iou': 0.34784, 'accuracy': 0.99358, 'contour_dice': 0.51615}} | 0.0652 |
|
58 |
+
| 0.4439 | 10.0 | 25630 | 0.9786 | 0.9923 | {0: {'f1': 0.99741, 'iou': 0.99483, 'accuracy': 0.99611, 'contour_dice': 0.99741}, 1: {'f1': 0.97774, 'iou': 0.95645, 'accuracy': 0.98909, 'contour_dice': 0.97774}, 2: {'f1': 0.41176, 'iou': 0.25926, 'accuracy': 0.99298, 'contour_dice': 0.41176}} | 0.0301 |
|
59 |
+
| 0.4077 | 15.0 | 38445 | 0.2129 | 0.4508 | {0: {'f1': 0.31665, 'iou': 0.18811, 'accuracy': 0.39105, 'contour_dice': 0.31665}, 1: {'f1': 0.43873, 'iou': 0.28101, 'accuracy': 0.38547, 'contour_dice': 0.43873}, 2: {'f1': 0.60057, 'iou': 0.42915, 'accuracy': 0.99441, 'contour_dice': 0.60057}} | 0.8030 |
|
60 |
+
| 0.4099 | 20.0 | 51260 | 0.9796 | 0.9892 | {0: {'f1': 0.9964, 'iou': 0.99283, 'accuracy': 0.9946, 'contour_dice': 0.9964}, 1: {'f1': 0.97792, 'iou': 0.9568, 'accuracy': 0.98934, 'contour_dice': 0.97792}, 2: {'f1': 0.67584, 'iou': 0.51039, 'accuracy': 0.99419, 'contour_dice': 0.67584}} | 0.0441 |
|
61 |
+
| 0.3872 | 25.0 | 64075 | 0.9799 | 0.9882 | {0: {'f1': 0.99605, 'iou': 0.99212, 'accuracy': 0.99407, 'contour_dice': 0.99605}, 1: {'f1': 0.9783, 'iou': 0.95752, 'accuracy': 0.98953, 'contour_dice': 0.9783}, 2: {'f1': 0.73739, 'iou': 0.58402, 'accuracy': 0.99521, 'contour_dice': 0.73739}} | 0.0314 |
|
62 |
+
|
63 |
+
|
64 |
+
### Framework versions
|
65 |
+
|
66 |
+
- Transformers 4.45.0
|
67 |
+
- Pytorch 2.5.1+cu124
|
68 |
+
- Datasets 2.21.0
|
69 |
+
- Tokenizers 0.20.3
|
config.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"UNETForSegmentation"
|
4 |
+
],
|
5 |
+
"dim": 224,
|
6 |
+
"hidden_act": "gelu",
|
7 |
+
"hidden_size": 256,
|
8 |
+
"img_size": 128,
|
9 |
+
"intermediate_size": 1024,
|
10 |
+
"is_causal": false,
|
11 |
+
"k": 2,
|
12 |
+
"model_type": "Unet",
|
13 |
+
"n_filts": 4,
|
14 |
+
"num_attention_heads": 8,
|
15 |
+
"num_channels": 3,
|
16 |
+
"num_classes": 3,
|
17 |
+
"num_hidden_layers": 6,
|
18 |
+
"num_layers": 2,
|
19 |
+
"patch_size": 16,
|
20 |
+
"problem_type": "single_label_classification",
|
21 |
+
"t": 2,
|
22 |
+
"torch_dtype": "float32",
|
23 |
+
"transformers_version": "4.45.0"
|
24 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:28158680e2ee00ef764b6cd76252a02023bd63fbdd08dccd4ccd3fa3dc25d9b5
|
3 |
+
size 2188724
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3775bff2eca752f2956fa9b634c475229429bef905f6e58970e222095f1a7cff
|
3 |
+
size 5176
|