aditnnda commited on
Commit
1ce753a
1 Parent(s): bd45071

End of training

Browse files
Files changed (4) hide show
  1. README.md +65 -0
  2. config.json +36 -0
  3. preprocessor_config.json +22 -0
  4. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: aditnnda/felidae_klasifikasi
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
+ # aditnnda/felidae_klasifikasi
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.9213
19
+ - Train Accuracy: 0.7869
20
+ - Validation Loss: 0.8231
21
+ - Validation Accuracy: 0.7869
22
+ - Epoch: 9
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', 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 3e-05, 'decay_steps': 1820, '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 Accuracy | Validation Loss | Validation Accuracy | Epoch |
47
+ |:----------:|:--------------:|:---------------:|:-------------------:|:-----:|
48
+ | 1.6070 | 0.3770 | 1.5670 | 0.3770 | 0 |
49
+ | 1.5299 | 0.6557 | 1.4816 | 0.6557 | 1 |
50
+ | 1.4347 | 0.6066 | 1.3838 | 0.6066 | 2 |
51
+ | 1.3535 | 0.6885 | 1.2822 | 0.6885 | 3 |
52
+ | 1.2562 | 0.6885 | 1.1766 | 0.6885 | 4 |
53
+ | 1.1829 | 0.7705 | 1.0732 | 0.7705 | 5 |
54
+ | 1.1037 | 0.8033 | 0.9889 | 0.8033 | 6 |
55
+ | 1.0444 | 0.8525 | 0.9204 | 0.8525 | 7 |
56
+ | 0.9640 | 0.8197 | 0.8722 | 0.8197 | 8 |
57
+ | 0.9213 | 0.7869 | 0.8231 | 0.7869 | 9 |
58
+
59
+
60
+ ### Framework versions
61
+
62
+ - Transformers 4.35.1
63
+ - TensorFlow 2.14.0
64
+ - Datasets 2.14.6
65
+ - Tokenizers 0.14.1
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Cheetah",
13
+ "1": "Leopard",
14
+ "2": "Lion",
15
+ "3": "Puma",
16
+ "4": "Tiger"
17
+ },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "Cheetah": "0",
23
+ "Leopard": "1",
24
+ "Lion": "2",
25
+ "Puma": "3",
26
+ "Tiger": "4"
27
+ },
28
+ "layer_norm_eps": 1e-12,
29
+ "model_type": "vit",
30
+ "num_attention_heads": 12,
31
+ "num_channels": 3,
32
+ "num_hidden_layers": 12,
33
+ "patch_size": 16,
34
+ "qkv_bias": true,
35
+ "transformers_version": "4.35.1"
36
+ }
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:fc07e52accc52e6c0cebd830c7d0297e4a0b6052ff281d47528000971fed514a
3
+ size 343478968