Training in progress epoch 0
Browse files- README.md +54 -0
- config.json +46 -0
- logs/train/events.out.tfevents.1659670657.sagemaker-base-py-ml-g4dn-16xlarge-1bdc023fdd256d2139f27d13cd48.802.0.v2 +3 -0
- logs/validation/events.out.tfevents.1659672279.sagemaker-base-py-ml-g4dn-16xlarge-1bdc023fdd256d2139f27d13cd48.802.1.v2 +3 -0
- preprocessor_config.json +17 -0
- tf_model.h5 +3 -0
README.md
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_keras_callback
|
5 |
+
model-index:
|
6 |
+
- name: rwang5688/vit-base-patch16-224-finetuned-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 |
+
# rwang5688/vit-base-patch16-224-finetuned-eurosat
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on an unknown dataset.
|
16 |
+
It achieves the following results on the evaluation set:
|
17 |
+
- Train Loss: 0.5015
|
18 |
+
- Validation Loss: 0.0894
|
19 |
+
- Validation Accuracy: 0.9730
|
20 |
+
- Epoch: 0
|
21 |
+
|
22 |
+
## Model description
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Intended uses & limitations
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training and evaluation data
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training procedure
|
35 |
+
|
36 |
+
### Training hyperparameters
|
37 |
+
|
38 |
+
The following hyperparameters were used during training:
|
39 |
+
- optimizer: {'name': 'AdamWeightDecay', 'learning_rate': 5e-05, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False, 'weight_decay_rate': 0.01}
|
40 |
+
- training_precision: float32
|
41 |
+
|
42 |
+
### Training results
|
43 |
+
|
44 |
+
| Train Loss | Validation Loss | Validation Accuracy | Epoch |
|
45 |
+
|:----------:|:---------------:|:-------------------:|:-----:|
|
46 |
+
| 0.5015 | 0.0894 | 0.9730 | 0 |
|
47 |
+
|
48 |
+
|
49 |
+
### Framework versions
|
50 |
+
|
51 |
+
- Transformers 4.21.1
|
52 |
+
- TensorFlow 2.9.1
|
53 |
+
- Datasets 2.4.0
|
54 |
+
- Tokenizers 0.12.1
|
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224",
|
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": "AnnualCrop",
|
13 |
+
"1": "Forest",
|
14 |
+
"2": "HerbaceousVegetation",
|
15 |
+
"3": "Highway",
|
16 |
+
"4": "Industrial",
|
17 |
+
"5": "Pasture",
|
18 |
+
"6": "PermanentCrop",
|
19 |
+
"7": "Residential",
|
20 |
+
"8": "River",
|
21 |
+
"9": "SeaLake"
|
22 |
+
},
|
23 |
+
"image_size": 224,
|
24 |
+
"initializer_range": 0.02,
|
25 |
+
"intermediate_size": 3072,
|
26 |
+
"label2id": {
|
27 |
+
"AnnualCrop": 0,
|
28 |
+
"Forest": 1,
|
29 |
+
"HerbaceousVegetation": 2,
|
30 |
+
"Highway": 3,
|
31 |
+
"Industrial": 4,
|
32 |
+
"Pasture": 5,
|
33 |
+
"PermanentCrop": 6,
|
34 |
+
"Residential": 7,
|
35 |
+
"River": 8,
|
36 |
+
"SeaLake": 9
|
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.21.1"
|
46 |
+
}
|
logs/train/events.out.tfevents.1659670657.sagemaker-base-py-ml-g4dn-16xlarge-1bdc023fdd256d2139f27d13cd48.802.0.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:00bcc8f58718688bd9dfcda0acb9713df147e5c38b4f701cd454650f23675cf1
|
3 |
+
size 3013566
|
logs/validation/events.out.tfevents.1659672279.sagemaker-base-py-ml-g4dn-16xlarge-1bdc023fdd256d2139f27d13cd48.802.1.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5f128427dd3e30cee1a6c9541c5b075807cb58218da595ae4539c285315a6915
|
3 |
+
size 264
|
preprocessor_config.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_resize": true,
|
4 |
+
"feature_extractor_type": "ViTFeatureExtractor",
|
5 |
+
"image_mean": [
|
6 |
+
0.5,
|
7 |
+
0.5,
|
8 |
+
0.5
|
9 |
+
],
|
10 |
+
"image_std": [
|
11 |
+
0.5,
|
12 |
+
0.5,
|
13 |
+
0.5
|
14 |
+
],
|
15 |
+
"resample": 2,
|
16 |
+
"size": 224
|
17 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:da7c4a05e484fa82f8e07240ff1f5cd3e006a92ddde8c1b8192788aba6d11b3e
|
3 |
+
size 343494328
|