arieg commited on
Commit
4156e58
·
1 Parent(s): 07ad0f5

End of training

Browse files
Files changed (4) hide show
  1. README.md +75 -0
  2. config.json +42 -0
  3. preprocessor_config.json +22 -0
  4. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/vit-base-patch16-224-in21k
4
+ tags:
5
+ - generated_from_keras_callback
6
+ model-index:
7
+ - name: arieg/bw_spec_cls_8_00_noise_200
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
12
+ probably proofread and complete it, then remove this comment. -->
13
+
14
+ # arieg/bw_spec_cls_8_00_noise_200
15
+
16
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Train Loss: 0.0115
19
+ - Train Sparse Categorical Accuracy: 1.0
20
+ - Validation Loss: 0.0109
21
+ - Validation Sparse Categorical Accuracy: 1.0
22
+ - Epoch: 19
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - optimizer: {'name': 'AdamWeightDecay', 'clipnorm': 1.0, 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 3e-05, 'decay_steps': 30600, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01}
42
+ - training_precision: float32
43
+
44
+ ### Training results
45
+
46
+ | Train Loss | Train Sparse Categorical Accuracy | Validation Loss | Validation Sparse Categorical Accuracy | Epoch |
47
+ |:----------:|:---------------------------------:|:---------------:|:--------------------------------------:|:-----:|
48
+ | 0.8708 | 0.9739 | 0.3432 | 1.0 | 0 |
49
+ | 0.2554 | 1.0 | 0.1989 | 1.0 | 1 |
50
+ | 0.1700 | 1.0 | 0.1456 | 1.0 | 2 |
51
+ | 0.1286 | 1.0 | 0.1130 | 1.0 | 3 |
52
+ | 0.1011 | 1.0 | 0.0900 | 1.0 | 4 |
53
+ | 0.0812 | 1.0 | 0.0729 | 1.0 | 5 |
54
+ | 0.0664 | 1.0 | 0.0602 | 1.0 | 6 |
55
+ | 0.0551 | 1.0 | 0.0503 | 1.0 | 7 |
56
+ | 0.0463 | 1.0 | 0.0425 | 1.0 | 8 |
57
+ | 0.0394 | 1.0 | 0.0363 | 1.0 | 9 |
58
+ | 0.0338 | 1.0 | 0.0314 | 1.0 | 10 |
59
+ | 0.0293 | 1.0 | 0.0273 | 1.0 | 11 |
60
+ | 0.0255 | 1.0 | 0.0239 | 1.0 | 12 |
61
+ | 0.0224 | 1.0 | 0.0210 | 1.0 | 13 |
62
+ | 0.0198 | 1.0 | 0.0187 | 1.0 | 14 |
63
+ | 0.0176 | 1.0 | 0.0166 | 1.0 | 15 |
64
+ | 0.0157 | 1.0 | 0.0149 | 1.0 | 16 |
65
+ | 0.0141 | 1.0 | 0.0134 | 1.0 | 17 |
66
+ | 0.0127 | 1.0 | 0.0121 | 1.0 | 18 |
67
+ | 0.0115 | 1.0 | 0.0109 | 1.0 | 19 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - Transformers 4.35.0
73
+ - TensorFlow 2.14.0
74
+ - Datasets 2.14.6
75
+ - Tokenizers 0.14.1
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
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": "10",
13
+ "1": "140",
14
+ "2": "2",
15
+ "3": "5",
16
+ "4": "141",
17
+ "5": "190",
18
+ "6": "193",
19
+ "7": "194"
20
+ },
21
+ "image_size": 224,
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "10": "0",
26
+ "140": "1",
27
+ "141": "4",
28
+ "190": "5",
29
+ "193": "6",
30
+ "194": "7",
31
+ "2": "2",
32
+ "5": "3"
33
+ },
34
+ "layer_norm_eps": 1e-12,
35
+ "model_type": "vit",
36
+ "num_attention_heads": 12,
37
+ "num_channels": 3,
38
+ "num_hidden_layers": 12,
39
+ "patch_size": 16,
40
+ "qkv_bias": true,
41
+ "transformers_version": "4.35.0"
42
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_rescale": true,
4
+ "do_resize": true,
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_processor_type": "ViTImageProcessor",
11
+ "image_std": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "resample": 2,
17
+ "rescale_factor": 0.00392156862745098,
18
+ "size": {
19
+ "height": 224,
20
+ "width": 224
21
+ }
22
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9200382b9d208e62952c233acbdc063f7ff23be4c05f82b38b17eae9d0ef0108
3
+ size 343488184