Commit
•
d8d78ed
1
Parent(s):
f69d6c6
Training in progress epoch 0
Browse files- README.md +54 -0
- config.json +50 -0
- logs/train/events.out.tfevents.1657024540.gamma.28098.0.v2 +3 -0
- logs/validation/events.out.tfevents.1657024544.gamma.28098.1.v2 +3 -0
- preprocessor_config.json +18 -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: amyeroberts/resnet-18-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/resnet-18-finetuned-eurosat
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [microsoft/resnet-18](https://huggingface.co/microsoft/resnet-18) on an unknown dataset.
|
16 |
+
It achieves the following results on the evaluation set:
|
17 |
+
- Train Loss: 3.0662
|
18 |
+
- Validation Loss: 2.7376
|
19 |
+
- Validation Accuracy: 0.1374
|
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 |
+
| 3.0662 | 2.7376 | 0.1374 | 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,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/resnet-18",
|
3 |
+
"architectures": [
|
4 |
+
"ResNetForImageClassification"
|
5 |
+
],
|
6 |
+
"depths": [
|
7 |
+
2,
|
8 |
+
2,
|
9 |
+
2,
|
10 |
+
2
|
11 |
+
],
|
12 |
+
"downsample_in_first_stage": false,
|
13 |
+
"embedding_size": 64,
|
14 |
+
"hidden_act": "relu",
|
15 |
+
"hidden_sizes": [
|
16 |
+
64,
|
17 |
+
128,
|
18 |
+
256,
|
19 |
+
512
|
20 |
+
],
|
21 |
+
"id2label": {
|
22 |
+
"0": "AnnualCrop",
|
23 |
+
"1": "Forest",
|
24 |
+
"2": "HerbaceousVegetation",
|
25 |
+
"3": "Highway",
|
26 |
+
"4": "Industrial",
|
27 |
+
"5": "Pasture",
|
28 |
+
"6": "PermanentCrop",
|
29 |
+
"7": "Residential",
|
30 |
+
"8": "River",
|
31 |
+
"9": "SeaLake"
|
32 |
+
},
|
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_type": "basic",
|
46 |
+
"model_type": "resnet",
|
47 |
+
"num_channels": 3,
|
48 |
+
"torch_dtype": "float32",
|
49 |
+
"transformers_version": "4.21.0.dev0"
|
50 |
+
}
|
logs/train/events.out.tfevents.1657024540.gamma.28098.0.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:df8e224073b777c9ccb43b22f1655ec4b0b8dae2a357750d91f75a00c4c53f5e
|
3 |
+
size 507822
|
logs/validation/events.out.tfevents.1657024544.gamma.28098.1.v2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a424213db18690bcfbb01cd175d381e64972c0389f4b4f2f0c39cb9ef8c333e9
|
3 |
+
size 263
|
preprocessor_config.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_pct": 0.875,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"feature_extractor_type": "ConvNextFeatureExtractor",
|
6 |
+
"image_mean": [
|
7 |
+
0.485,
|
8 |
+
0.456,
|
9 |
+
0.406
|
10 |
+
],
|
11 |
+
"image_std": [
|
12 |
+
0.229,
|
13 |
+
0.224,
|
14 |
+
0.225
|
15 |
+
],
|
16 |
+
"resample": 3,
|
17 |
+
"size": 224
|
18 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a0197b36ab92249a100df31565e9934c1c827fecaed900abac60e6f138624cc6
|
3 |
+
size 44902232
|