FlavioBF commited on
Commit
f99cc05
·
verified ·
1 Parent(s): 7f530f4

End of training

Browse files
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: facebook/convnext-tiny-224
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: convnext-tiny-224-finetuned-eurosat-albumentations
12
+ results:
13
+ - task:
14
+ name: Image Classification
15
+ type: image-classification
16
+ dataset:
17
+ name: imagefolder
18
+ type: imagefolder
19
+ config: default
20
+ split: train
21
+ args: default
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.9544444444444444
26
+ ---
27
+
28
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
29
+ should probably proofread and complete it, then remove this comment. -->
30
+
31
+ # convnext-tiny-224-finetuned-eurosat-albumentations
32
+
33
+ This model is a fine-tuned version of [facebook/convnext-tiny-224](https://huggingface.co/facebook/convnext-tiny-224) on the imagefolder dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 0.2548
36
+ - Accuracy: 0.9544
37
+
38
+ ## Model description
39
+
40
+ More information needed
41
+
42
+ ## Intended uses & limitations
43
+
44
+ More information needed
45
+
46
+ ## Training and evaluation data
47
+
48
+ More information needed
49
+
50
+ ## Training procedure
51
+
52
+ ### Training hyperparameters
53
+
54
+ The following hyperparameters were used during training:
55
+ - learning_rate: 5e-05
56
+ - train_batch_size: 32
57
+ - eval_batch_size: 32
58
+ - seed: 42
59
+ - gradient_accumulation_steps: 4
60
+ - total_train_batch_size: 128
61
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
62
+ - lr_scheduler_type: linear
63
+ - lr_scheduler_warmup_ratio: 0.1
64
+ - num_epochs: 1
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
69
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
70
+ | 0.269 | 1.0 | 190 | 0.2548 | 0.9544 |
71
+
72
+
73
+ ### Framework versions
74
+
75
+ - Transformers 4.38.2
76
+ - Pytorch 2.2.1+cu121
77
+ - Datasets 2.18.0
78
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/convnext-tiny-224",
3
+ "architectures": [
4
+ "ConvNextForImageClassification"
5
+ ],
6
+ "depths": [
7
+ 3,
8
+ 3,
9
+ 9,
10
+ 3
11
+ ],
12
+ "drop_path_rate": 0.0,
13
+ "hidden_act": "gelu",
14
+ "hidden_sizes": [
15
+ 96,
16
+ 192,
17
+ 384,
18
+ 768
19
+ ],
20
+ "id2label": {
21
+ "0": "AnnualCrop",
22
+ "1": "Forest",
23
+ "2": "HerbaceousVegetation",
24
+ "3": "Highway",
25
+ "4": "Industrial",
26
+ "5": "Pasture",
27
+ "6": "PermanentCrop",
28
+ "7": "Residential",
29
+ "8": "River",
30
+ "9": "SeaLake"
31
+ },
32
+ "image_size": 224,
33
+ "initializer_range": 0.02,
34
+ "label2id": {
35
+ "AnnualCrop": 0,
36
+ "Forest": 1,
37
+ "HerbaceousVegetation": 2,
38
+ "Highway": 3,
39
+ "Industrial": 4,
40
+ "Pasture": 5,
41
+ "PermanentCrop": 6,
42
+ "Residential": 7,
43
+ "River": 8,
44
+ "SeaLake": 9
45
+ },
46
+ "layer_norm_eps": 1e-12,
47
+ "layer_scale_init_value": 1e-06,
48
+ "model_type": "convnext",
49
+ "num_channels": 3,
50
+ "num_stages": 4,
51
+ "out_features": [
52
+ "stage4"
53
+ ],
54
+ "out_indices": [
55
+ 4
56
+ ],
57
+ "patch_size": 4,
58
+ "problem_type": "single_label_classification",
59
+ "stage_names": [
60
+ "stem",
61
+ "stage1",
62
+ "stage2",
63
+ "stage3",
64
+ "stage4"
65
+ ],
66
+ "torch_dtype": "float32",
67
+ "transformers_version": "4.38.2"
68
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54541ad0230c1f868ce1f351dd2c3b51f2d1f4971438c6a72edd9c505ad37c6a
3
+ size 111332552
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_pct": 0.875,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.485,
8
+ 0.456,
9
+ 0.406
10
+ ],
11
+ "image_processor_type": "ConvNextImageProcessor",
12
+ "image_std": [
13
+ 0.229,
14
+ 0.224,
15
+ 0.225
16
+ ],
17
+ "resample": 3,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "shortest_edge": 224
21
+ }
22
+ }
runs/Mar20_10-02-10_28808eb65132/events.out.tfevents.1710929026.28808eb65132.549.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26655268535c7dd01dfd762e6fca843c1428909b33dea3e75e6cde0490a0a4e5
3
+ size 9826
runs/Mar20_10-02-10_28808eb65132/events.out.tfevents.1710929437.28808eb65132.549.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ba3bf11fb27affb2c872b5802758b8f17d9555be1f5da354cfdaac969cbe4c8
3
+ size 411
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03296d542389551a465fa5a387a2362375335c64d5b2a536815e07b1b4781580
3
+ size 4984