aalonso-developer
commited on
Commit
•
b1654a4
1
Parent(s):
6fc6ff1
Training in progress epoch 0
Browse files
README.md
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_keras_callback
|
5 |
+
model-index:
|
6 |
+
- name: aalonso-developer/vit-base-patch16-224-in21k-euroSat
|
7 |
+
results: []
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
11 |
+
probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# aalonso-developer/vit-base-patch16-224-in21k-euroSat
|
14 |
+
|
15 |
+
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.
|
16 |
+
It achieves the following results on the evaluation set:
|
17 |
+
- Train Loss: 0.4737
|
18 |
+
- Train Accuracy: 0.9429
|
19 |
+
- Train Top-3-accuracy: 0.9862
|
20 |
+
- Validation Loss: 0.1568
|
21 |
+
- Validation Accuracy: 0.9788
|
22 |
+
- Validation Top-3-accuracy: 0.9993
|
23 |
+
- Epoch: 0
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- optimizer: {'inner_optimizer': {'class_name': 'AdamWeightDecay', 'config': {'name': 'AdamWeightDecay', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 3e-05, 'decay_steps': 3590, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01}}, 'dynamic': True, 'initial_scale': 32768.0, 'dynamic_growth_steps': 2000}
|
43 |
+
- training_precision: mixed_float16
|
44 |
+
|
45 |
+
### Training results
|
46 |
+
|
47 |
+
| Train Loss | Train Accuracy | Train Top-3-accuracy | Validation Loss | Validation Accuracy | Validation Top-3-accuracy | Epoch |
|
48 |
+
|:----------:|:--------------:|:--------------------:|:---------------:|:-------------------:|:-------------------------:|:-----:|
|
49 |
+
| 0.4737 | 0.9429 | 0.9862 | 0.1568 | 0.9788 | 0.9993 | 0 |
|
50 |
+
|
51 |
+
|
52 |
+
### Framework versions
|
53 |
+
|
54 |
+
- Transformers 4.29.1
|
55 |
+
- TensorFlow 2.11.0
|
56 |
+
- Datasets 2.12.0
|
57 |
+
- Tokenizers 0.13.3
|
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "River",
|
13 |
+
"1": "Highway",
|
14 |
+
"2": "Industrial",
|
15 |
+
"3": "Forest",
|
16 |
+
"4": "HerbaceousVegetation",
|
17 |
+
"5": "SeaLake",
|
18 |
+
"6": "Residential",
|
19 |
+
"7": "Pasture",
|
20 |
+
"8": "AnnualCrop",
|
21 |
+
"9": "PermanentCrop"
|
22 |
+
},
|
23 |
+
"image_size": 224,
|
24 |
+
"initializer_range": 0.02,
|
25 |
+
"intermediate_size": 3072,
|
26 |
+
"label2id": {
|
27 |
+
"AnnualCrop": "8",
|
28 |
+
"Forest": "3",
|
29 |
+
"HerbaceousVegetation": "4",
|
30 |
+
"Highway": "1",
|
31 |
+
"Industrial": "2",
|
32 |
+
"Pasture": "7",
|
33 |
+
"PermanentCrop": "9",
|
34 |
+
"Residential": "6",
|
35 |
+
"River": "0",
|
36 |
+
"SeaLake": "5"
|
37 |
+
},
|
38 |
+
"layer_norm_eps": 1e-12,
|
39 |
+
"model_type": "vit",
|
40 |
+
"num_attention_heads": 12,
|
41 |
+
"num_channels": 3,
|
42 |
+
"num_hidden_layers": 12,
|
43 |
+
"patch_size": 16,
|
44 |
+
"qkv_bias": true,
|
45 |
+
"transformers_version": "4.29.1"
|
46 |
+
}
|
logs/train/events.out.tfevents.1683984369.adrian-development.80699.0.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b74a8b3e3679ea39ec58105fbc49a5bdc292da8d2892a47ad2d06b85dad0ff50
|
3 |
+
size 3294171
|
logs/train/events.out.tfevents.1683984676.adrian-development.86579.0.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:37ef04c19c6a31dfe3741d1a975b6299f336e663594ff882a9cc466efcdcca49
|
3 |
+
size 3294458
|
logs/validation/events.out.tfevents.1683984996.adrian-development.86579.1.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd4ee8a9d048389ed3e98b0ae4bc155233a3299ecc653f81ebe2b501e246fb7d
|
3 |
+
size 530
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:31414c62b5dc0b30e25a81fcf76d08379c1ff23402bb55f98b6464fc6116667d
|
3 |
+
size 343494328
|