SeyedAli commited on
Commit
a5f1295
1 Parent(s): 31ab874

🍻 cheers

Browse files
README.md CHANGED
@@ -2,6 +2,7 @@
2
  license: apache-2.0
3
  base_model: microsoft/swin-base-patch4-window7-224
4
  tags:
 
5
  - generated_from_trainer
6
  metrics:
7
  - accuracy
@@ -15,7 +16,7 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  # swin-finetuned-food101
17
 
18
- This model is a fine-tuned version of [microsoft/swin-base-patch4-window7-224](https://huggingface.co/microsoft/swin-base-patch4-window7-224) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
  - Loss: 0.1004
21
  - Accuracy: 0.9661
 
2
  license: apache-2.0
3
  base_model: microsoft/swin-base-patch4-window7-224
4
  tags:
5
+ - Remote-sensing
6
  - generated_from_trainer
7
  metrics:
8
  - accuracy
 
16
 
17
  # swin-finetuned-food101
18
 
19
+ This model is a fine-tuned version of [microsoft/swin-base-patch4-window7-224](https://huggingface.co/microsoft/swin-base-patch4-window7-224) on the jonathan-roberts1/RSSCN7 dataset.
20
  It achieves the following results on the evaluation set:
21
  - Loss: 0.1004
22
  - Accuracy: 0.9661
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_accuracy": 0.9660714285714286,
4
+ "eval_loss": 0.10036059468984604,
5
+ "eval_runtime": 11.1446,
6
+ "eval_samples_per_second": 50.249,
7
+ "eval_steps_per_second": 3.141,
8
+ "total_flos": 5.2651323892629504e+17,
9
+ "train_loss": 0.34459258970760165,
10
+ "train_runtime": 349.853,
11
+ "train_samples_per_second": 19.208,
12
+ "train_steps_per_second": 0.3
13
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_accuracy": 0.9660714285714286,
4
+ "eval_loss": 0.10036059468984604,
5
+ "eval_runtime": 11.1446,
6
+ "eval_samples_per_second": 50.249,
7
+ "eval_steps_per_second": 3.141
8
+ }
runs/Jun14_08-23-46_2a32240208ad/events.out.tfevents.1718353966.2a32240208ad.845.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe18c652099ee1f968fa46042928899b8a75dac383f4872aadbd3ed94b13b8e5
3
+ size 405
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "total_flos": 5.2651323892629504e+17,
4
+ "train_loss": 0.34459258970760165,
5
+ "train_runtime": 349.853,
6
+ "train_samples_per_second": 19.208,
7
+ "train_steps_per_second": 0.3
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.9660714285714286,
3
+ "best_model_checkpoint": "swin-finetuned-food101/checkpoint-105",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 105,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.2857142857142857,
13
+ "grad_norm": 7.0990753173828125,
14
+ "learning_rate": 4.545454545454546e-05,
15
+ "loss": 1.8603,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.5714285714285714,
20
+ "grad_norm": 7.225792407989502,
21
+ "learning_rate": 4.5212765957446815e-05,
22
+ "loss": 0.806,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 0.8571428571428571,
27
+ "grad_norm": 10.552105903625488,
28
+ "learning_rate": 3.9893617021276594e-05,
29
+ "loss": 0.2786,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 1.0,
34
+ "eval_accuracy": 0.9535714285714286,
35
+ "eval_loss": 0.14325273036956787,
36
+ "eval_runtime": 11.2243,
37
+ "eval_samples_per_second": 49.892,
38
+ "eval_steps_per_second": 3.118,
39
+ "step": 35
40
+ },
41
+ {
42
+ "epoch": 1.1428571428571428,
43
+ "grad_norm": 7.090443134307861,
44
+ "learning_rate": 3.4574468085106386e-05,
45
+ "loss": 0.182,
46
+ "step": 40
47
+ },
48
+ {
49
+ "epoch": 1.4285714285714286,
50
+ "grad_norm": 10.5905122756958,
51
+ "learning_rate": 2.925531914893617e-05,
52
+ "loss": 0.1237,
53
+ "step": 50
54
+ },
55
+ {
56
+ "epoch": 1.7142857142857144,
57
+ "grad_norm": 4.789523601531982,
58
+ "learning_rate": 2.393617021276596e-05,
59
+ "loss": 0.1119,
60
+ "step": 60
61
+ },
62
+ {
63
+ "epoch": 2.0,
64
+ "grad_norm": 4.802328109741211,
65
+ "learning_rate": 1.8617021276595745e-05,
66
+ "loss": 0.1035,
67
+ "step": 70
68
+ },
69
+ {
70
+ "epoch": 2.0,
71
+ "eval_accuracy": 0.9625,
72
+ "eval_loss": 0.11008361726999283,
73
+ "eval_runtime": 11.1386,
74
+ "eval_samples_per_second": 50.276,
75
+ "eval_steps_per_second": 3.142,
76
+ "step": 70
77
+ },
78
+ {
79
+ "epoch": 2.2857142857142856,
80
+ "grad_norm": 2.4177331924438477,
81
+ "learning_rate": 1.3297872340425532e-05,
82
+ "loss": 0.0647,
83
+ "step": 80
84
+ },
85
+ {
86
+ "epoch": 2.571428571428571,
87
+ "grad_norm": 3.3316473960876465,
88
+ "learning_rate": 7.97872340425532e-06,
89
+ "loss": 0.0381,
90
+ "step": 90
91
+ },
92
+ {
93
+ "epoch": 2.857142857142857,
94
+ "grad_norm": 2.1031341552734375,
95
+ "learning_rate": 2.6595744680851065e-06,
96
+ "loss": 0.0288,
97
+ "step": 100
98
+ },
99
+ {
100
+ "epoch": 3.0,
101
+ "eval_accuracy": 0.9660714285714286,
102
+ "eval_loss": 0.10036059468984604,
103
+ "eval_runtime": 11.3867,
104
+ "eval_samples_per_second": 49.18,
105
+ "eval_steps_per_second": 3.074,
106
+ "step": 105
107
+ },
108
+ {
109
+ "epoch": 3.0,
110
+ "step": 105,
111
+ "total_flos": 5.2651323892629504e+17,
112
+ "train_loss": 0.34459258970760165,
113
+ "train_runtime": 349.853,
114
+ "train_samples_per_second": 19.208,
115
+ "train_steps_per_second": 0.3
116
+ }
117
+ ],
118
+ "logging_steps": 10,
119
+ "max_steps": 105,
120
+ "num_input_tokens_seen": 0,
121
+ "num_train_epochs": 3,
122
+ "save_steps": 500,
123
+ "stateful_callbacks": {
124
+ "TrainerControl": {
125
+ "args": {
126
+ "should_epoch_stop": false,
127
+ "should_evaluate": false,
128
+ "should_log": false,
129
+ "should_save": true,
130
+ "should_training_stop": true
131
+ },
132
+ "attributes": {}
133
+ }
134
+ },
135
+ "total_flos": 5.2651323892629504e+17,
136
+ "train_batch_size": 16,
137
+ "trial_name": null,
138
+ "trial_params": null
139
+ }