amyeroberts HF staff commited on
Commit
55ce9fe
·
1 Parent(s): 80e749a

Training in progress epoch 0

Browse files
Files changed (4) hide show
  1. README.md +54 -0
  2. config.json +63 -0
  3. preprocessor_config.json +17 -0
  4. 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: amyeroberts/swin-tiny-patch4-window7-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
+ # amyeroberts/swin-tiny-patch4-window7-224-finetuned-eurosat
14
+
15
+ 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.
16
+ It achieves the following results on the evaluation set:
17
+ - Train Loss: 2.2928
18
+ - Validation Loss: 2.2627
19
+ - Train Accuracy: 0.1875
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': 2e-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 | Train Accuracy | Epoch |
45
+ |:----------:|:---------------:|:--------------:|:-----:|
46
+ | 2.2928 | 2.2627 | 0.1875 | 0 |
47
+
48
+
49
+ ### Framework versions
50
+
51
+ - Transformers 4.21.0.dev0
52
+ - TensorFlow 2.9.1
53
+ - Datasets 2.3.3.dev0
54
+ - Tokenizers 0.11.0
config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "patch_size": 4,
57
+ "path_norm": true,
58
+ "qkv_bias": true,
59
+ "torch_dtype": "float32",
60
+ "transformers_version": "4.21.0.dev0",
61
+ "use_absolute_embeddings": false,
62
+ "window_size": 7
63
+ }
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.485,
7
+ 0.456,
8
+ 0.406
9
+ ],
10
+ "image_std": [
11
+ 0.229,
12
+ 0.224,
13
+ 0.225
14
+ ],
15
+ "resample": 3,
16
+ "size": 224
17
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5d2554715eb195a3998084f98428c0a48d077811ec5fcdbbe23966177354896
3
+ size 110432168