End of training
Browse files- README.md +54 -0
- config.json +120 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: other
|
| 4 |
+
base_model: nvidia/mit-b3
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
model-index:
|
| 8 |
+
- name: karlin-segmentation-v1
|
| 9 |
+
results: []
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 13 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 14 |
+
|
| 15 |
+
# karlin-segmentation-v1
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [nvidia/mit-b3](https://huggingface.co/nvidia/mit-b3) on the None dataset.
|
| 18 |
+
|
| 19 |
+
## Model description
|
| 20 |
+
|
| 21 |
+
More information needed
|
| 22 |
+
|
| 23 |
+
## Intended uses & limitations
|
| 24 |
+
|
| 25 |
+
More information needed
|
| 26 |
+
|
| 27 |
+
## Training and evaluation data
|
| 28 |
+
|
| 29 |
+
More information needed
|
| 30 |
+
|
| 31 |
+
## Training procedure
|
| 32 |
+
|
| 33 |
+
### Training hyperparameters
|
| 34 |
+
|
| 35 |
+
The following hyperparameters were used during training:
|
| 36 |
+
- learning_rate: 6e-05
|
| 37 |
+
- train_batch_size: 4
|
| 38 |
+
- eval_batch_size: 8
|
| 39 |
+
- seed: 42
|
| 40 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 41 |
+
- lr_scheduler_type: linear
|
| 42 |
+
- num_epochs: 50
|
| 43 |
+
- mixed_precision_training: Native AMP
|
| 44 |
+
|
| 45 |
+
### Training results
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
### Framework versions
|
| 50 |
+
|
| 51 |
+
- Transformers 4.46.1
|
| 52 |
+
- Pytorch 2.9.1+cu128
|
| 53 |
+
- Datasets 4.4.1
|
| 54 |
+
- Tokenizers 0.20.3
|
config.json
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "nvidia/mit-b3",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"SegformerForSemanticSegmentation"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.0,
|
| 7 |
+
"classifier_dropout_prob": 0.1,
|
| 8 |
+
"decoder_hidden_size": 768,
|
| 9 |
+
"depths": [
|
| 10 |
+
3,
|
| 11 |
+
4,
|
| 12 |
+
18,
|
| 13 |
+
3
|
| 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": "Features",
|
| 33 |
+
"2": "crows_feet",
|
| 34 |
+
"3": "forehead_rhytid",
|
| 35 |
+
"4": "glabellar_rhytid",
|
| 36 |
+
"5": "left_dermatochalasis",
|
| 37 |
+
"6": "left_festoon",
|
| 38 |
+
"7": "left_hyperpigmentation",
|
| 39 |
+
"8": "left_inferior_orbital_rim_hollow",
|
| 40 |
+
"9": "left_lower_eyelid_fat_herniation",
|
| 41 |
+
"10": "left_lower_eyelid_rhytids",
|
| 42 |
+
"11": "left_medial_upper_eyelid_fat_herniation",
|
| 43 |
+
"12": "left_ptosis",
|
| 44 |
+
"13": "left_upper_eyelid_hollow",
|
| 45 |
+
"14": "right_dermatochalasis",
|
| 46 |
+
"15": "right_festoon",
|
| 47 |
+
"16": "right_hyperpigmentation",
|
| 48 |
+
"17": "right_inferior_orbital_rim_hollow",
|
| 49 |
+
"18": "right_lower_eyelid_fat_herniation",
|
| 50 |
+
"19": "right_lower_eyelid_rhytids",
|
| 51 |
+
"20": "right_medial_upper_eyelid_fat_herniation",
|
| 52 |
+
"21": "right_ptosis",
|
| 53 |
+
"22": "right_upper_eyelid_hollow"
|
| 54 |
+
},
|
| 55 |
+
"image_size": 224,
|
| 56 |
+
"initializer_range": 0.02,
|
| 57 |
+
"label2id": {
|
| 58 |
+
"Features": 1,
|
| 59 |
+
"background": 0,
|
| 60 |
+
"crows_feet": 2,
|
| 61 |
+
"forehead_rhytid": 3,
|
| 62 |
+
"glabellar_rhytid": 4,
|
| 63 |
+
"left_dermatochalasis": 5,
|
| 64 |
+
"left_festoon": 6,
|
| 65 |
+
"left_hyperpigmentation": 7,
|
| 66 |
+
"left_inferior_orbital_rim_hollow": 8,
|
| 67 |
+
"left_lower_eyelid_fat_herniation": 9,
|
| 68 |
+
"left_lower_eyelid_rhytids": 10,
|
| 69 |
+
"left_medial_upper_eyelid_fat_herniation": 11,
|
| 70 |
+
"left_ptosis": 12,
|
| 71 |
+
"left_upper_eyelid_hollow": 13,
|
| 72 |
+
"right_dermatochalasis": 14,
|
| 73 |
+
"right_festoon": 15,
|
| 74 |
+
"right_hyperpigmentation": 16,
|
| 75 |
+
"right_inferior_orbital_rim_hollow": 17,
|
| 76 |
+
"right_lower_eyelid_fat_herniation": 18,
|
| 77 |
+
"right_lower_eyelid_rhytids": 19,
|
| 78 |
+
"right_medial_upper_eyelid_fat_herniation": 20,
|
| 79 |
+
"right_ptosis": 21,
|
| 80 |
+
"right_upper_eyelid_hollow": 22
|
| 81 |
+
},
|
| 82 |
+
"layer_norm_eps": 1e-06,
|
| 83 |
+
"mlp_ratios": [
|
| 84 |
+
4,
|
| 85 |
+
4,
|
| 86 |
+
4,
|
| 87 |
+
4
|
| 88 |
+
],
|
| 89 |
+
"model_type": "segformer",
|
| 90 |
+
"num_attention_heads": [
|
| 91 |
+
1,
|
| 92 |
+
2,
|
| 93 |
+
5,
|
| 94 |
+
8
|
| 95 |
+
],
|
| 96 |
+
"num_channels": 3,
|
| 97 |
+
"num_encoder_blocks": 4,
|
| 98 |
+
"patch_sizes": [
|
| 99 |
+
7,
|
| 100 |
+
3,
|
| 101 |
+
3,
|
| 102 |
+
3
|
| 103 |
+
],
|
| 104 |
+
"reshape_last_stage": true,
|
| 105 |
+
"semantic_loss_ignore_index": 255,
|
| 106 |
+
"sr_ratios": [
|
| 107 |
+
8,
|
| 108 |
+
4,
|
| 109 |
+
2,
|
| 110 |
+
1
|
| 111 |
+
],
|
| 112 |
+
"strides": [
|
| 113 |
+
4,
|
| 114 |
+
2,
|
| 115 |
+
2,
|
| 116 |
+
2
|
| 117 |
+
],
|
| 118 |
+
"torch_dtype": "float32",
|
| 119 |
+
"transformers_version": "4.46.1"
|
| 120 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8606e9dac5d2ce01eb8059d0a3ef74547b0e348dba08969bf57ed591008c5199
|
| 3 |
+
size 189044380
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a669e40013e0714e8a80e9554791ff5b0cf28cb4e9e1d8a1387e1e6dd082040b
|
| 3 |
+
size 5713
|