vony227 commited on
Commit
f10e9d6
·
verified ·
1 Parent(s): 8795ba1

End of training

Browse files
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google/vit-base-patch16-224
5
+ tags:
6
+ - generated_from_trainer
7
+ datasets:
8
+ - imagefolder
9
+ model-index:
10
+ - name: vit-base-patch16-224-finetuned-eurosat
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # vit-base-patch16-224-finetuned-eurosat
18
+
19
+ This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the imagefolder dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - eval_loss: 2.4052
22
+ - eval_model_preparation_time: 0.0118
23
+ - eval_accuracy: 0.1337
24
+ - eval_runtime: 253.0403
25
+ - eval_samples_per_second: 10.67
26
+ - eval_steps_per_second: 0.336
27
+ - step: 0
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 5e-05
47
+ - train_batch_size: 32
48
+ - eval_batch_size: 32
49
+ - seed: 42
50
+ - gradient_accumulation_steps: 4
51
+ - total_train_batch_size: 128
52
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
53
+ - lr_scheduler_type: linear
54
+ - lr_scheduler_warmup_ratio: 0.1
55
+ - num_epochs: 3
56
+
57
+ ### Framework versions
58
+
59
+ - Transformers 4.45.2
60
+ - Pytorch 2.4.1
61
+ - Datasets 3.0.1
62
+ - Tokenizers 0.20.1
all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eval_accuracy": 0.1337037037037037,
3
+ "eval_loss": 2.4051928520202637,
4
+ "eval_model_preparation_time": 0.0118,
5
+ "eval_runtime": 253.0403,
6
+ "eval_samples_per_second": 10.67,
7
+ "eval_steps_per_second": 0.336
8
+ }
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "problem_type": "single_label_classification",
45
+ "qkv_bias": true,
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.45.2"
48
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eval_accuracy": 0.1337037037037037,
3
+ "eval_loss": 2.4051928520202637,
4
+ "eval_model_preparation_time": 0.0118,
5
+ "eval_runtime": 253.0403,
6
+ "eval_samples_per_second": 10.67,
7
+ "eval_steps_per_second": 0.336
8
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2610c0ea77579b319c687b04e82cff1cfcffd328b26ef072784ca223047f269f
3
+ size 343248584
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_rescale": true,
4
+ "do_resize": true,
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_processor_type": "ViTImageProcessor",
11
+ "image_std": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "resample": 2,
17
+ "rescale_factor": 0.00392156862745098,
18
+ "size": {
19
+ "height": 224,
20
+ "width": 224
21
+ }
22
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31e4eb382d786008e1b940923c5992b33e4704e31f667bb220bfd2d425ddaa78
3
+ size 5240