Sara5115 commited on
Commit
ee0138f
·
verified ·
1 Parent(s): 3e01335

Uploading model files

Browse files
checkpoint-3/config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SwinForImageClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "depths": [
7
+ 2,
8
+ 2,
9
+ 6,
10
+ 2
11
+ ],
12
+ "drop_path_rate": 0.1,
13
+ "embed_dim": 96,
14
+ "encoder_stride": 32,
15
+ "hidden_act": "gelu",
16
+ "hidden_dropout_prob": 0.0,
17
+ "hidden_size": 768,
18
+ "id2label": {
19
+ "0": "Blur",
20
+ "1": "Not Blur"
21
+ },
22
+ "image_size": 224,
23
+ "initializer_range": 0.02,
24
+ "label2id": {
25
+ "Blur": 0,
26
+ "Not Blur": 1
27
+ },
28
+ "layer_norm_eps": 1e-05,
29
+ "mlp_ratio": 4.0,
30
+ "model_type": "swin",
31
+ "num_channels": 3,
32
+ "num_heads": [
33
+ 3,
34
+ 6,
35
+ 12,
36
+ 24
37
+ ],
38
+ "num_layers": 4,
39
+ "out_features": [
40
+ "stage4"
41
+ ],
42
+ "out_indices": [
43
+ 4
44
+ ],
45
+ "patch_size": 4,
46
+ "path_norm": true,
47
+ "problem_type": "single_label_classification",
48
+ "qkv_bias": true,
49
+ "stage_names": [
50
+ "stem",
51
+ "stage1",
52
+ "stage2",
53
+ "stage3",
54
+ "stage4"
55
+ ],
56
+ "torch_dtype": "float32",
57
+ "transformers_version": "4.51.3",
58
+ "use_absolute_embeddings": false,
59
+ "window_size": 7
60
+ }
checkpoint-3/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e31718b69680406d9bc93286fc2cc596632246fe7d88628d0b906c80b60ee2d
3
+ size 110342832
checkpoint-3/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e454080055c60bbd5dba93fdd06f25ad2b8d5323ee57ca12e6b907b325c8a4f
3
+ size 220351051
checkpoint-3/preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
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": "ViTImageProcessor",
12
+ "image_std": [
13
+ 0.229,
14
+ 0.224,
15
+ 0.225
16
+ ],
17
+ "resample": 3,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 224,
21
+ "width": 224
22
+ }
23
+ }
checkpoint-3/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89a9b78952772375814aa557ead0d6d7966e5ae772999747c0d628865c33d516
3
+ size 14645
checkpoint-3/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4528a2693c1fbc7d42539231583c2647146b2f86c132e7d5c3d45239b821bcbd
3
+ size 1465
checkpoint-3/trainer_state.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 3,
3
+ "best_metric": 0.8690476190476191,
4
+ "best_model_checkpoint": "swin-tiny-patch4-window7-224-BlurClassification/checkpoint-3",
5
+ "epoch": 1.0,
6
+ "eval_steps": 500,
7
+ "global_step": 3,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 1.0,
14
+ "eval_accuracy": 0.8690476190476191,
15
+ "eval_loss": 0.5337596535682678,
16
+ "eval_runtime": 53.6641,
17
+ "eval_samples_per_second": 1.565,
18
+ "eval_steps_per_second": 0.056,
19
+ "step": 3
20
+ }
21
+ ],
22
+ "logging_steps": 10,
23
+ "max_steps": 6,
24
+ "num_input_tokens_seen": 0,
25
+ "num_train_epochs": 3,
26
+ "save_steps": 500,
27
+ "stateful_callbacks": {
28
+ "TrainerControl": {
29
+ "args": {
30
+ "should_epoch_stop": false,
31
+ "should_evaluate": false,
32
+ "should_log": false,
33
+ "should_save": true,
34
+ "should_training_stop": false
35
+ },
36
+ "attributes": {}
37
+ }
38
+ },
39
+ "total_flos": 8252188343304192.0,
40
+ "train_batch_size": 32,
41
+ "trial_name": null,
42
+ "trial_params": null
43
+ }
checkpoint-3/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30eb9464672918c4999be6ddf2850b84fe491dd14105d51bee7ac4bd9813821c
3
+ size 5777
checkpoint-6/config.json CHANGED
@@ -1,60 +1,60 @@
1
- {
2
- "architectures": [
3
- "SwinForImageClassification"
4
- ],
5
- "attention_probs_dropout_prob": 0.0,
6
- "depths": [
7
- 2,
8
- 2,
9
- 6,
10
- 2
11
- ],
12
- "drop_path_rate": 0.1,
13
- "embed_dim": 96,
14
- "encoder_stride": 32,
15
- "hidden_act": "gelu",
16
- "hidden_dropout_prob": 0.0,
17
- "hidden_size": 768,
18
- "id2label": {
19
- "0": "Blur",
20
- "1": "Not Blur"
21
- },
22
- "image_size": 224,
23
- "initializer_range": 0.02,
24
- "label2id": {
25
- "Blur": 0,
26
- "Not Blur": 1
27
- },
28
- "layer_norm_eps": 1e-05,
29
- "mlp_ratio": 4.0,
30
- "model_type": "swin",
31
- "num_channels": 3,
32
- "num_heads": [
33
- 3,
34
- 6,
35
- 12,
36
- 24
37
- ],
38
- "num_layers": 4,
39
- "out_features": [
40
- "stage4"
41
- ],
42
- "out_indices": [
43
- 4
44
- ],
45
- "patch_size": 4,
46
- "path_norm": true,
47
- "problem_type": "single_label_classification",
48
- "qkv_bias": true,
49
- "stage_names": [
50
- "stem",
51
- "stage1",
52
- "stage2",
53
- "stage3",
54
- "stage4"
55
- ],
56
- "torch_dtype": "float32",
57
- "transformers_version": "4.50.3",
58
- "use_absolute_embeddings": false,
59
- "window_size": 7
60
- }
 
1
+ {
2
+ "architectures": [
3
+ "SwinForImageClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "depths": [
7
+ 2,
8
+ 2,
9
+ 6,
10
+ 2
11
+ ],
12
+ "drop_path_rate": 0.1,
13
+ "embed_dim": 96,
14
+ "encoder_stride": 32,
15
+ "hidden_act": "gelu",
16
+ "hidden_dropout_prob": 0.0,
17
+ "hidden_size": 768,
18
+ "id2label": {
19
+ "0": "Blur",
20
+ "1": "Not Blur"
21
+ },
22
+ "image_size": 224,
23
+ "initializer_range": 0.02,
24
+ "label2id": {
25
+ "Blur": 0,
26
+ "Not Blur": 1
27
+ },
28
+ "layer_norm_eps": 1e-05,
29
+ "mlp_ratio": 4.0,
30
+ "model_type": "swin",
31
+ "num_channels": 3,
32
+ "num_heads": [
33
+ 3,
34
+ 6,
35
+ 12,
36
+ 24
37
+ ],
38
+ "num_layers": 4,
39
+ "out_features": [
40
+ "stage4"
41
+ ],
42
+ "out_indices": [
43
+ 4
44
+ ],
45
+ "patch_size": 4,
46
+ "path_norm": true,
47
+ "problem_type": "single_label_classification",
48
+ "qkv_bias": true,
49
+ "stage_names": [
50
+ "stem",
51
+ "stage1",
52
+ "stage2",
53
+ "stage3",
54
+ "stage4"
55
+ ],
56
+ "torch_dtype": "float32",
57
+ "transformers_version": "4.51.3",
58
+ "use_absolute_embeddings": false,
59
+ "window_size": 7
60
+ }
checkpoint-6/model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:48c5519f52bbf38cdab15370cc3a4dcf554b8baf0b6e68901113269ade2026e3
3
  size 110342832
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24a61bb1530bc59efac1d9f4d8b0512075e9415be6398f74fc7a3884808ecbb0
3
  size 110342832
checkpoint-6/optimizer.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3dc7154caaa88efd8c78a318fecd107848c6685cf4249478a415d2ad1c48edc7
3
- size 220344378
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb16d423932569e93d57abdd6ee34c648d906a8caf952ed59a131a2836efe758
3
+ size 220351051
checkpoint-6/preprocessor_config.json CHANGED
@@ -1,23 +1,23 @@
1
- {
2
- "do_convert_rgb": null,
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": "ViTImageProcessor",
12
- "image_std": [
13
- 0.229,
14
- 0.224,
15
- 0.225
16
- ],
17
- "resample": 3,
18
- "rescale_factor": 0.00392156862745098,
19
- "size": {
20
- "height": 224,
21
- "width": 224
22
- }
23
- }
 
1
+ {
2
+ "do_convert_rgb": null,
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": "ViTImageProcessor",
12
+ "image_std": [
13
+ 0.229,
14
+ 0.224,
15
+ 0.225
16
+ ],
17
+ "resample": 3,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 224,
21
+ "width": 224
22
+ }
23
+ }
checkpoint-6/rng_state.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f5ba69db1281009caea6fa844ee42a1c39f1d2c7ac3bc135fa284cffbc0999cd
3
- size 13990
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:886e5c6cc9e066f1d69ec8dbab12fe7387b9cc40123de91b50affc1d95d8755c
3
+ size 14645
checkpoint-6/scheduler.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:279e841118dcb53786f0ba365c7d4ddfbc42f3e40c3deab71cdb7f11be91203d
3
- size 1064
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:997a485c2416cae1ef472feb19d736748700e01ef6b9f7fb4911b9d7d433a60c
3
+ size 1465
checkpoint-6/trainer_state.json CHANGED
@@ -1,43 +1,52 @@
1
- {
2
- "best_global_step": 6,
3
- "best_metric": 0.9811320754716981,
4
- "best_model_checkpoint": "swin-tiny-patch4-window7-224-BlurClassification\\checkpoint-6",
5
- "epoch": 1.0,
6
- "eval_steps": 500,
7
- "global_step": 6,
8
- "is_hyper_param_search": false,
9
- "is_local_process_zero": true,
10
- "is_world_process_zero": true,
11
- "log_history": [
12
- {
13
- "epoch": 1.0,
14
- "eval_accuracy": 0.9811320754716981,
15
- "eval_loss": 0.24062196910381317,
16
- "eval_runtime": 13.6835,
17
- "eval_samples_per_second": 23.24,
18
- "eval_steps_per_second": 0.731,
19
- "step": 6
20
- }
21
- ],
22
- "logging_steps": 10,
23
- "max_steps": 30,
24
- "num_input_tokens_seen": 0,
25
- "num_train_epochs": 5,
26
- "save_steps": 500,
27
- "stateful_callbacks": {
28
- "TrainerControl": {
29
- "args": {
30
- "should_epoch_stop": false,
31
- "should_evaluate": false,
32
- "should_log": false,
33
- "should_save": true,
34
- "should_training_stop": false
35
- },
36
- "attributes": {}
37
- }
38
- },
39
- "total_flos": 1.844314382750515e+16,
40
- "train_batch_size": 32,
41
- "trial_name": null,
42
- "trial_params": null
43
- }
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 6,
3
+ "best_metric": 0.9761904761904762,
4
+ "best_model_checkpoint": "swin-tiny-patch4-window7-224-BlurClassification/checkpoint-6",
5
+ "epoch": 2.0,
6
+ "eval_steps": 500,
7
+ "global_step": 6,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 1.0,
14
+ "eval_accuracy": 0.8690476190476191,
15
+ "eval_loss": 0.5337596535682678,
16
+ "eval_runtime": 53.6641,
17
+ "eval_samples_per_second": 1.565,
18
+ "eval_steps_per_second": 0.056,
19
+ "step": 3
20
+ },
21
+ {
22
+ "epoch": 2.0,
23
+ "eval_accuracy": 0.9761904761904762,
24
+ "eval_loss": 0.38189584016799927,
25
+ "eval_runtime": 0.9924,
26
+ "eval_samples_per_second": 84.647,
27
+ "eval_steps_per_second": 3.023,
28
+ "step": 6
29
+ }
30
+ ],
31
+ "logging_steps": 10,
32
+ "max_steps": 6,
33
+ "num_input_tokens_seen": 0,
34
+ "num_train_epochs": 3,
35
+ "save_steps": 500,
36
+ "stateful_callbacks": {
37
+ "TrainerControl": {
38
+ "args": {
39
+ "should_epoch_stop": false,
40
+ "should_evaluate": false,
41
+ "should_log": false,
42
+ "should_save": true,
43
+ "should_training_stop": true
44
+ },
45
+ "attributes": {}
46
+ }
47
+ },
48
+ "total_flos": 1.6504376686608384e+16,
49
+ "train_batch_size": 32,
50
+ "trial_name": null,
51
+ "trial_params": null
52
+ }
checkpoint-6/training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:80a6480d20da699fccade53c3fd9b35b8e309a5b9e1bfeca6411e3b8969645d4
3
- size 5368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30eb9464672918c4999be6ddf2850b84fe491dd14105d51bee7ac4bd9813821c
3
+ size 5777