Training in progress epoch 0
Browse files- README.md +55 -0
- config.json +76 -0
- logs/train/events.out.tfevents.1705337000.L01428.16168.0.v2 +3 -0
- logs/train/events.out.tfevents.1705337223.L01428.16168.1.v2 +3 -0
- logs/train/events.out.tfevents.1705337304.L01428.16168.2.v2 +3 -0
- logs/validation/events.out.tfevents.1705339736.L01428.16168.3.v2 +3 -0
- preprocessor_config.json +23 -0
- tf_model.h5 +3 -0
README.md
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: microsoft/swin-tiny-patch4-window7-224
|
4 |
+
tags:
|
5 |
+
- generated_from_keras_callback
|
6 |
+
model-index:
|
7 |
+
- name: ggergues/swin-tiny-patch4-window7-224-finetuned-eurosat
|
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 |
+
# ggergues/swin-tiny-patch4-window7-224-finetuned-eurosat
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Train Loss: 0.7532
|
19 |
+
- Validation Loss: 0.1995
|
20 |
+
- Validation Accuracy: 0.9352
|
21 |
+
- Epoch: 0
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- 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}
|
41 |
+
- training_precision: float32
|
42 |
+
|
43 |
+
### Training results
|
44 |
+
|
45 |
+
| Train Loss | Validation Loss | Validation Accuracy | Epoch |
|
46 |
+
|:----------:|:---------------:|:-------------------:|:-----:|
|
47 |
+
| 0.7532 | 0.1995 | 0.9352 | 0 |
|
48 |
+
|
49 |
+
|
50 |
+
### Framework versions
|
51 |
+
|
52 |
+
- Transformers 4.36.2
|
53 |
+
- TensorFlow 2.10.1
|
54 |
+
- Datasets 2.16.1
|
55 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/swin-tiny-patch4-window7-224",
|
3 |
+
"architectures": [
|
4 |
+
"SwinForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"depths": [
|
8 |
+
2,
|
9 |
+
2,
|
10 |
+
6,
|
11 |
+
2
|
12 |
+
],
|
13 |
+
"drop_path_rate": 0.1,
|
14 |
+
"embed_dim": 96,
|
15 |
+
"encoder_stride": 32,
|
16 |
+
"hidden_act": "gelu",
|
17 |
+
"hidden_dropout_prob": 0.0,
|
18 |
+
"hidden_size": 768,
|
19 |
+
"id2label": {
|
20 |
+
"0": "AnnualCrop",
|
21 |
+
"1": "Forest",
|
22 |
+
"2": "HerbaceousVegetation",
|
23 |
+
"3": "Highway",
|
24 |
+
"4": "Industrial",
|
25 |
+
"5": "Pasture",
|
26 |
+
"6": "PermanentCrop",
|
27 |
+
"7": "Residential",
|
28 |
+
"8": "River",
|
29 |
+
"9": "SeaLake"
|
30 |
+
},
|
31 |
+
"image_size": 224,
|
32 |
+
"initializer_range": 0.02,
|
33 |
+
"label2id": {
|
34 |
+
"AnnualCrop": 0,
|
35 |
+
"Forest": 1,
|
36 |
+
"HerbaceousVegetation": 2,
|
37 |
+
"Highway": 3,
|
38 |
+
"Industrial": 4,
|
39 |
+
"Pasture": 5,
|
40 |
+
"PermanentCrop": 6,
|
41 |
+
"Residential": 7,
|
42 |
+
"River": 8,
|
43 |
+
"SeaLake": 9
|
44 |
+
},
|
45 |
+
"layer_norm_eps": 1e-05,
|
46 |
+
"mlp_ratio": 4.0,
|
47 |
+
"model_type": "swin",
|
48 |
+
"num_channels": 3,
|
49 |
+
"num_heads": [
|
50 |
+
3,
|
51 |
+
6,
|
52 |
+
12,
|
53 |
+
24
|
54 |
+
],
|
55 |
+
"num_layers": 4,
|
56 |
+
"out_features": [
|
57 |
+
"stage4"
|
58 |
+
],
|
59 |
+
"out_indices": [
|
60 |
+
4
|
61 |
+
],
|
62 |
+
"patch_size": 4,
|
63 |
+
"path_norm": true,
|
64 |
+
"qkv_bias": true,
|
65 |
+
"stage_names": [
|
66 |
+
"stem",
|
67 |
+
"stage1",
|
68 |
+
"stage2",
|
69 |
+
"stage3",
|
70 |
+
"stage4"
|
71 |
+
],
|
72 |
+
"torch_dtype": "float32",
|
73 |
+
"transformers_version": "4.36.2",
|
74 |
+
"use_absolute_embeddings": false,
|
75 |
+
"window_size": 7
|
76 |
+
}
|
logs/train/events.out.tfevents.1705337000.L01428.16168.0.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8639e165a445edef1eb2d307485a6eaa5a5b84040185422ddd93e64c24320619
|
3 |
+
size 40
|
logs/train/events.out.tfevents.1705337223.L01428.16168.1.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:31fc07868504088147c25e20d12c3d8c43e0a830e09ef04fbbad79051181acb1
|
3 |
+
size 40
|
logs/train/events.out.tfevents.1705337304.L01428.16168.2.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b18c1625f0009f5ec1d26d79794a5f73eae26ccd949388f9faa72505e3502395
|
3 |
+
size 7465621
|
logs/validation/events.out.tfevents.1705339736.L01428.16168.3.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e7d25d46161344dbefca74b4146c299c0527e4d760fce6b1863577ad5bfb7131
|
3 |
+
size 264
|
preprocessor_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"feature_extractor_type": "ViTFeatureExtractor",
|
6 |
+
"image_mean": [
|
7 |
+
0.485,
|
8 |
+
0.456,
|
9 |
+
0.406
|
10 |
+
],
|
11 |
+
"image_processor_type": "ViTImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.229,
|
14 |
+
0.224,
|
15 |
+
0.225
|
16 |
+
],
|
17 |
+
"resample": 3,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"height": 224,
|
21 |
+
"width": 224
|
22 |
+
}
|
23 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:54e4b079e9a7d41467d2414aeda1a50ec50e823e32d3e11cfeae6d520c217067
|
3 |
+
size 110552248
|