ealdaz commited on
Commit
5528f8a
1 Parent(s): c6c4473

Model save

Browse files
README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: microsoft/swinv2-large-patch4-window12to16-192to256-22kto1k-ft
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: swin-windturbine
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # swin-windturbine
17
+
18
+ This model is a fine-tuned version of [microsoft/swinv2-large-patch4-window12to16-192to256-22kto1k-ft](https://huggingface.co/microsoft/swinv2-large-patch4-window12to16-192to256-22kto1k-ft) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.0472
21
+ - Accuracy: 0.9964
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
+ - learning_rate: 2e-05
41
+ - train_batch_size: 8
42
+ - eval_batch_size: 8
43
+ - seed: 1337
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 5.0
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
+ | 0.0604 | 1.0 | 197 | 0.0459 | 0.9892 |
53
+ | 0.1309 | 2.0 | 394 | 0.0337 | 0.9857 |
54
+ | 0.3207 | 3.0 | 591 | 0.1261 | 0.9785 |
55
+ | 0.2517 | 4.0 | 788 | 0.0491 | 0.9928 |
56
+ | 0.1549 | 5.0 | 985 | 0.0472 | 0.9964 |
57
+
58
+
59
+ ### Framework versions
60
+
61
+ - Transformers 4.41.1
62
+ - Pytorch 2.3.0
63
+ - Datasets 2.19.1
64
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/swinv2-large-patch4-window12to16-192to256-22kto1k-ft",
3
+ "architectures": [
4
+ "Swinv2ForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "depths": [
8
+ 2,
9
+ 2,
10
+ 18,
11
+ 2
12
+ ],
13
+ "drop_path_rate": 0.1,
14
+ "embed_dim": 192,
15
+ "encoder_stride": 32,
16
+ "finetuning_task": "image-classification",
17
+ "hidden_act": "gelu",
18
+ "hidden_dropout_prob": 0.0,
19
+ "hidden_size": 1536,
20
+ "id2label": {
21
+ "0": "Blade",
22
+ "1": "FullTurbine",
23
+ "2": "Hub",
24
+ "3": "Mast",
25
+ "4": "Nacelle",
26
+ "5": "Van"
27
+ },
28
+ "image_size": 256,
29
+ "initializer_range": 0.02,
30
+ "label2id": {
31
+ "Blade": "0",
32
+ "FullTurbine": "1",
33
+ "Hub": "2",
34
+ "Mast": "3",
35
+ "Nacelle": "4",
36
+ "Van": "5"
37
+ },
38
+ "layer_norm_eps": 1e-05,
39
+ "mlp_ratio": 4.0,
40
+ "model_type": "swinv2",
41
+ "num_channels": 3,
42
+ "num_heads": [
43
+ 6,
44
+ 12,
45
+ 24,
46
+ 48
47
+ ],
48
+ "num_layers": 4,
49
+ "out_features": [
50
+ "stage4"
51
+ ],
52
+ "out_indices": [
53
+ 4
54
+ ],
55
+ "patch_size": 4,
56
+ "path_norm": true,
57
+ "pretrained_window_sizes": [
58
+ 12,
59
+ 12,
60
+ 12,
61
+ 6
62
+ ],
63
+ "problem_type": "single_label_classification",
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.41.1",
74
+ "use_absolute_embeddings": false,
75
+ "window_size": 16
76
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9be320fbf936bde9062408b66b491a66267e8e1cc019eed3ba2bc3ed06a3147
3
+ size 780910880
preprocessor_config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "do_resize",
5
+ "size",
6
+ "resample",
7
+ "do_rescale",
8
+ "rescale_factor",
9
+ "do_normalize",
10
+ "image_mean",
11
+ "image_std",
12
+ "return_tensors",
13
+ "data_format",
14
+ "input_data_format"
15
+ ],
16
+ "do_normalize": true,
17
+ "do_rescale": true,
18
+ "do_resize": true,
19
+ "image_mean": [
20
+ 0.485,
21
+ 0.456,
22
+ 0.406
23
+ ],
24
+ "image_processor_type": "ViTImageProcessor",
25
+ "image_std": [
26
+ 0.229,
27
+ 0.224,
28
+ 0.225
29
+ ],
30
+ "resample": 3,
31
+ "rescale_factor": 0.00392156862745098,
32
+ "size": {
33
+ "height": 256,
34
+ "width": 256
35
+ }
36
+ }
runs/May23_22-05-26_Edus-MacBook-Pro.local/events.out.tfevents.1716498384.Edus-MacBook-Pro.local ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b8a11d04e16db135ba2f0170501eb2a36aa8a574ca7e0f200a08891dcc5928a
3
+ size 28062
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfde3e6b6266b3b1ed577840f0dbf4f28d77c209ab0a359936ba0ce2e987025d
3
+ size 5112