hasnanmr commited on
Commit
b0a78f6
·
verified ·
1 Parent(s): 72e880d

cutoutCLAHE

Browse files
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google/vit-base-patch16-224
5
+ tags:
6
+ - image-classification
7
+ - generated_from_trainer
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: vit-base-finetuned-cephalometric
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # vit-base-finetuned-cephalometric
19
+
20
+ This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the cepha-cutoutCLAHE dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.7340
23
+ - Accuracy: 0.6528
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 0.0001
43
+ - train_batch_size: 32
44
+ - eval_batch_size: 8
45
+ - seed: 42
46
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 50
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
53
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
54
+ | No log | 1.0 | 16 | 0.9458 | 0.5486 |
55
+ | 0.9879 | 2.0 | 32 | 0.6947 | 0.6597 |
56
+ | 0.4628 | 3.0 | 48 | 0.6375 | 0.6597 |
57
+ | 0.135 | 4.0 | 64 | 0.7060 | 0.6944 |
58
+ | 0.0339 | 5.0 | 80 | 0.7301 | 0.6597 |
59
+ | 0.0339 | 6.0 | 96 | 0.9236 | 0.6875 |
60
+ | 0.0059 | 7.0 | 112 | 0.9261 | 0.6806 |
61
+ | 0.0024 | 8.0 | 128 | 0.9961 | 0.6875 |
62
+ | 0.0012 | 9.0 | 144 | 1.0060 | 0.6736 |
63
+ | 0.0008 | 10.0 | 160 | 1.0329 | 0.6875 |
64
+ | 0.0008 | 11.0 | 176 | 1.0575 | 0.6944 |
65
+ | 0.0006 | 12.0 | 192 | 1.0768 | 0.6944 |
66
+ | 0.0006 | 13.0 | 208 | 1.1002 | 0.6944 |
67
+ | 0.0005 | 14.0 | 224 | 1.1220 | 0.6875 |
68
+ | 0.0004 | 15.0 | 240 | 1.1367 | 0.6875 |
69
+ | 0.0004 | 16.0 | 256 | 1.1538 | 0.6875 |
70
+ | 0.0004 | 17.0 | 272 | 1.1707 | 0.6875 |
71
+ | 0.0003 | 18.0 | 288 | 1.1855 | 0.6875 |
72
+ | 0.0003 | 19.0 | 304 | 1.2007 | 0.6875 |
73
+ | 0.0003 | 20.0 | 320 | 1.2066 | 0.6806 |
74
+ | 0.0003 | 21.0 | 336 | 1.2211 | 0.6806 |
75
+ | 0.0003 | 22.0 | 352 | 1.2291 | 0.6875 |
76
+ | 0.0002 | 23.0 | 368 | 1.2385 | 0.6875 |
77
+ | 0.0002 | 24.0 | 384 | 1.2508 | 0.6875 |
78
+
79
+
80
+ ### Framework versions
81
+
82
+ - Transformers 4.48.3
83
+ - Pytorch 2.5.1+cu124
84
+ - Datasets 3.3.2
85
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224",
3
+ "architectures": [
4
+ "ViTForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "encoder_stride": 16,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2"
15
+ },
16
+ "image_size": 224,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "LABEL_0": 0,
21
+ "LABEL_1": 1,
22
+ "LABEL_2": 2
23
+ },
24
+ "layer_norm_eps": 1e-12,
25
+ "model_type": "vit",
26
+ "num_attention_heads": 12,
27
+ "num_channels": 3,
28
+ "num_hidden_layers": 12,
29
+ "patch_size": 16,
30
+ "problem_type": "single_label_classification",
31
+ "qkv_bias": true,
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.48.3"
34
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64994b362a7c5a0a82cac6e5aa8c249800a1f7bfae38ff73ec716c39c071b464
3
+ size 343227052
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "image_processor_type": "ViTImageProcessor",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "resample": 2,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 224,
21
+ "width": 224
22
+ }
23
+ }
runs/Mar01_09-15-34_a31d1e9f3617/events.out.tfevents.1740820535.a31d1e9f3617.33093.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56eebef18356656a2df61bb765242139e53e74ff124612c218fe7a1eb4ec7097
3
+ size 17191
runs/Mar01_09-15-34_a31d1e9f3617/events.out.tfevents.1740820728.a31d1e9f3617.33093.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd934528c5fec14d2a8484f8439bc61af87adc06401e881243df1e1b1d012c08
3
+ size 411
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c5ad92f837080bbdcaebfb88d1041c4fa918bd36e54429eea64f341c00d673b8
3
+ size 5368