Commit
·
5b41d0c
1
Parent(s):
7420a15
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: philschmid/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 |
+
# philschmid/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.4692
|
18 |
+
- Train Accuracy: 0.9471
|
19 |
+
- Train Top-3-accuracy: 0.9878
|
20 |
+
- Validation Loss: 0.1455
|
21 |
+
- Validation Accuracy: 0.9861
|
22 |
+
- Validation Top-3-accuracy: 0.9998
|
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': 3585, '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.4692 | 0.9471 | 0.9878 | 0.1455 | 0.9861 | 0.9998 | 0 |
|
50 |
+
|
51 |
+
|
52 |
+
### Framework versions
|
53 |
+
|
54 |
+
- Transformers 4.15.0
|
55 |
+
- TensorFlow 2.7.0
|
56 |
+
- Datasets 1.17.0
|
57 |
+
- Tokenizers 0.10.3
|
config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"hidden_act": "gelu",
|
8 |
+
"hidden_dropout_prob": 0.0,
|
9 |
+
"hidden_size": 768,
|
10 |
+
"id2label": {
|
11 |
+
"0": "Pasture",
|
12 |
+
"1": "HerbaceousVegetation",
|
13 |
+
"2": "AnnualCrop",
|
14 |
+
"3": "PermanentCrop",
|
15 |
+
"4": "Highway",
|
16 |
+
"5": "Residential",
|
17 |
+
"6": "Industrial",
|
18 |
+
"7": "River",
|
19 |
+
"8": "Forest",
|
20 |
+
"9": "SeaLake"
|
21 |
+
},
|
22 |
+
"image_size": 224,
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"intermediate_size": 3072,
|
25 |
+
"label2id": {
|
26 |
+
"AnnualCrop": "2",
|
27 |
+
"Forest": "8",
|
28 |
+
"HerbaceousVegetation": "1",
|
29 |
+
"Highway": "4",
|
30 |
+
"Industrial": "6",
|
31 |
+
"Pasture": "0",
|
32 |
+
"PermanentCrop": "3",
|
33 |
+
"Residential": "5",
|
34 |
+
"River": "7",
|
35 |
+
"SeaLake": "9"
|
36 |
+
},
|
37 |
+
"layer_norm_eps": 1e-12,
|
38 |
+
"model_type": "vit",
|
39 |
+
"num_attention_heads": 12,
|
40 |
+
"num_channels": 3,
|
41 |
+
"num_hidden_layers": 12,
|
42 |
+
"patch_size": 16,
|
43 |
+
"qkv_bias": true,
|
44 |
+
"transformers_version": "4.15.0"
|
45 |
+
}
|
logs/train/events.out.tfevents.1641219902.ip-172-31-12-71.2254.0.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0f423d9b8bef0518df62c9309f4c747118256bff6bc81ea48393ef97825490d6
|
3 |
+
size 2187999
|
logs/train/events.out.tfevents.1641220257.ip-172-31-12-71.12366.0.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a4858864e4b1bb7a696d9dbe473b2dbc1b47e0767d0fa86db8cc2d4e47fc24e9
|
3 |
+
size 2186364
|
logs/validation/events.out.tfevents.1641225930.ip-172-31-12-71.12366.1.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e69ccf8c7be2c8a6f9beef259d5d189307440f780311c033faa7a0e186bb042e
|
3 |
+
size 530
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a2f6da27b1b7acd402abd24477e057a8e833eb0c3ba9cffc3a2993f32dcbac95
|
3 |
+
size 343494432
|