Orin27 commited on
Commit
73cc326
1 Parent(s): 1557ed6

End of training

Browse files
Files changed (3) hide show
  1. README.md +9 -9
  2. config.json +6 -6
  3. tf_model.h5 +1 -1
README.md CHANGED
@@ -15,9 +15,9 @@ probably proofread and complete it, then remove this comment. -->
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.1008
19
- - Validation Loss: 0.0973
20
- - Train Accuracy: 0.9833
21
  - Epoch: 4
22
 
23
  ## Model description
@@ -37,18 +37,18 @@ More information needed
37
  ### Training hyperparameters
38
 
39
  The following hyperparameters were used during training:
40
- - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 3e-05, 'decay_steps': 3600, '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.8604 | 0.5097 | 1.0 | 0 |
48
- | 0.3450 | 0.1983 | 0.9833 | 1 |
49
- | 0.1853 | 0.1518 | 0.9833 | 2 |
50
- | 0.1320 | 0.1374 | 0.9778 | 3 |
51
- | 0.1008 | 0.0973 | 0.9833 | 4 |
52
 
53
 
54
  ### Framework versions
 
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.1714
19
+ - Validation Loss: 0.1588
20
+ - Train Accuracy: 0.9469
21
  - Epoch: 4
22
 
23
  ## Model description
 
37
  ### Training hyperparameters
38
 
39
  The following hyperparameters were used during training:
40
+ - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 3e-05, 'decay_steps': 4135, '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.7473 | 0.4442 | 0.9034 | 0 |
48
+ | 0.3285 | 0.2443 | 0.9372 | 1 |
49
+ | 0.2674 | 0.2761 | 0.9275 | 2 |
50
+ | 0.2391 | 0.2456 | 0.9227 | 3 |
51
+ | 0.1714 | 0.1588 | 0.9469 | 4 |
52
 
53
 
54
  ### Framework versions
config.json CHANGED
@@ -9,17 +9,17 @@
9
  "hidden_dropout_prob": 0.0,
10
  "hidden_size": 768,
11
  "id2label": {
12
- "0": "cat",
13
- "1": "dog",
14
- "2": "rabbit"
15
  },
16
  "image_size": 224,
17
  "initializer_range": 0.02,
18
  "intermediate_size": 3072,
19
  "label2id": {
20
- "cat": "0",
21
- "dog": "1",
22
- "rabbit": "2"
23
  },
24
  "layer_norm_eps": 1e-12,
25
  "model_type": "vit",
 
9
  "hidden_dropout_prob": 0.0,
10
  "hidden_size": 768,
11
  "id2label": {
12
+ "0": "angular_leaf_spot",
13
+ "1": "bean_rust",
14
+ "2": "healthy"
15
  },
16
  "image_size": 224,
17
  "initializer_range": 0.02,
18
  "intermediate_size": 3072,
19
  "label2id": {
20
+ "angular_leaf_spot": "0",
21
+ "bean_rust": "1",
22
+ "healthy": "2"
23
  },
24
  "layer_norm_eps": 1e-12,
25
  "model_type": "vit",
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1d65b8713e5ce7270a1d38bda4250d9fdd7561cb4be9b1d4f560749757542ca0
3
  size 343472824
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e2a84ba2d87809f291db2e2dcc8c2bb092797d65c157c1eab6920208d7af743
3
  size 343472824