arieg commited on
Commit
3c6352f
1 Parent(s): d364d65

End of training

Browse files
Files changed (4) hide show
  1. README.md +74 -0
  2. config.json +34 -0
  3. preprocessor_config.json +22 -0
  4. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/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/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.0156
19
+ - Validation Loss: 0.0151
20
+ - Train Accuracy: 1.0
21
+ - Epoch: 19
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - 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}
41
+ - training_precision: float32
42
+
43
+ ### Training results
44
+
45
+ | Train Loss | Validation Loss | Train Accuracy | Epoch |
46
+ |:----------:|:---------------:|:--------------:|:-----:|
47
+ | 0.7193 | 0.2997 | 1.0 | 0 |
48
+ | 0.2007 | 0.1391 | 1.0 | 1 |
49
+ | 0.1164 | 0.0981 | 1.0 | 2 |
50
+ | 0.0881 | 0.0788 | 1.0 | 3 |
51
+ | 0.0724 | 0.0664 | 1.0 | 4 |
52
+ | 0.0618 | 0.0573 | 1.0 | 5 |
53
+ | 0.0537 | 0.0502 | 1.0 | 6 |
54
+ | 0.0474 | 0.0445 | 1.0 | 7 |
55
+ | 0.0421 | 0.0397 | 1.0 | 8 |
56
+ | 0.0377 | 0.0357 | 1.0 | 9 |
57
+ | 0.0339 | 0.0322 | 1.0 | 10 |
58
+ | 0.0307 | 0.0292 | 1.0 | 11 |
59
+ | 0.0279 | 0.0266 | 1.0 | 12 |
60
+ | 0.0254 | 0.0243 | 1.0 | 13 |
61
+ | 0.0233 | 0.0223 | 1.0 | 14 |
62
+ | 0.0214 | 0.0205 | 1.0 | 15 |
63
+ | 0.0197 | 0.0189 | 1.0 | 16 |
64
+ | 0.0182 | 0.0175 | 1.0 | 17 |
65
+ | 0.0168 | 0.0162 | 1.0 | 18 |
66
+ | 0.0156 | 0.0151 | 1.0 | 19 |
67
+
68
+
69
+ ### Framework versions
70
+
71
+ - Transformers 4.35.0
72
+ - TensorFlow 2.14.0
73
+ - Datasets 2.14.6
74
+ - 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:6421f382437f914e115cd695606397a47c8a09634732a9537907aa0e9e78476e
3
+ size 343492280