arieg commited on
Commit
d4d6236
·
1 Parent(s): 142c142

End of training

Browse files
Files changed (4) hide show
  1. README.md +75 -0
  2. config.json +34 -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_4_01_s_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_4_01_s_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.0157
19
+ - Train Sparse Categorical Accuracy: 1.0
20
+ - Validation Loss: 0.0151
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': 14400, '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.7760 | 0.8944 | 0.3046 | 1.0 | 0 |
49
+ | 0.2006 | 1.0 | 0.1346 | 1.0 | 1 |
50
+ | 0.1136 | 1.0 | 0.0957 | 1.0 | 2 |
51
+ | 0.0865 | 1.0 | 0.0768 | 1.0 | 3 |
52
+ | 0.0712 | 1.0 | 0.0652 | 1.0 | 4 |
53
+ | 0.0611 | 1.0 | 0.0565 | 1.0 | 5 |
54
+ | 0.0532 | 1.0 | 0.0498 | 1.0 | 6 |
55
+ | 0.0471 | 1.0 | 0.0441 | 1.0 | 7 |
56
+ | 0.0420 | 1.0 | 0.0395 | 1.0 | 8 |
57
+ | 0.0376 | 1.0 | 0.0355 | 1.0 | 9 |
58
+ | 0.0339 | 1.0 | 0.0321 | 1.0 | 10 |
59
+ | 0.0307 | 1.0 | 0.0291 | 1.0 | 11 |
60
+ | 0.0279 | 1.0 | 0.0266 | 1.0 | 12 |
61
+ | 0.0255 | 1.0 | 0.0243 | 1.0 | 13 |
62
+ | 0.0233 | 1.0 | 0.0223 | 1.0 | 14 |
63
+ | 0.0214 | 1.0 | 0.0205 | 1.0 | 15 |
64
+ | 0.0198 | 1.0 | 0.0190 | 1.0 | 16 |
65
+ | 0.0183 | 1.0 | 0.0175 | 1.0 | 17 |
66
+ | 0.0169 | 1.0 | 0.0163 | 1.0 | 18 |
67
+ | 0.0157 | 1.0 | 0.0151 | 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,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "141",
13
+ "1": "190",
14
+ "2": "193",
15
+ "3": "194"
16
+ },
17
+ "image_size": 224,
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "141": "0",
22
+ "190": "1",
23
+ "193": "2",
24
+ "194": "3"
25
+ },
26
+ "layer_norm_eps": 1e-12,
27
+ "model_type": "vit",
28
+ "num_attention_heads": 12,
29
+ "num_channels": 3,
30
+ "num_hidden_layers": 12,
31
+ "patch_size": 16,
32
+ "qkv_bias": true,
33
+ "transformers_version": "4.35.0"
34
+ }
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:20383e4b4fce35d95ecd9b80a1f8ab4f986584fe7ecaa08d15566f160de3d025
3
+ size 343492280