Libidrave commited on
Commit
ad8fd2c
1 Parent(s): 877b8b7

commit files to HF hub

Browse files
README.md CHANGED
@@ -15,7 +15,7 @@ model-index:
15
  metrics:
16
  - name: Accuracy
17
  type: accuracy
18
- value: 0.9755244851112366
19
  ---
20
 
21
  # BlurorBokehv1
 
15
  metrics:
16
  - name: Accuracy
17
  type: accuracy
18
+ value: 0.9790209531784058
19
  ---
20
 
21
  # BlurorBokehv1
config.json CHANGED
@@ -1,95 +1,69 @@
1
  {
2
- "_name_or_path": "OpenGVLab/pvt_v2_b5",
3
  "architectures": [
4
- "PvtV2ForImageClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.0,
7
  "depths": [
8
- 3,
9
- 6,
10
- 40,
11
- 3
12
  ],
13
- "drop_path_rate": 0.3,
 
 
14
  "hidden_act": "gelu",
15
  "hidden_dropout_prob": 0.0,
16
- "hidden_sizes": [
17
- 64,
18
- 128,
19
- 320,
20
- 512
21
- ],
22
  "id2label": {
23
  "0": "Blur",
24
  "1": "Bokeh",
25
  "2": "Normal"
26
  },
27
- "image_size": {
28
- "height": 224,
29
- "width": 224
30
- },
31
  "initializer_range": 0.02,
32
  "label2id": {
33
  "Blur": "0",
34
  "Bokeh": "1",
35
  "Normal": "2"
36
  },
37
- "layer_norm_eps": 1e-06,
38
- "linear_attention": false,
39
- "mlp_ratios": [
40
- 4,
41
- 4,
42
  4,
43
- 4
44
- ],
45
- "model_type": "pvt_v2",
46
- "num_attention_heads": [
47
- 1,
48
- 2,
49
- 5,
50
- 8
51
  ],
52
- "num_channels": 3,
53
- "num_encoder_blocks": 4,
54
  "out_features": [
55
- "stage1",
56
- "stage2",
57
- "stage3",
58
  "stage4"
59
  ],
60
  "out_indices": [
61
- 0,
62
- 1,
63
- 2,
64
- 3
65
  ],
66
- "patch_sizes": [
67
- 7,
68
- 3,
69
- 3,
70
- 3
 
 
71
  ],
72
  "problem_type": "single_label_classification",
73
  "qkv_bias": true,
74
- "reshape_last_stage": true,
75
- "sr_ratios": [
76
- 8,
77
- 4,
78
- 2,
79
- 1
80
- ],
81
  "stage_names": [
 
82
  "stage1",
83
  "stage2",
84
  "stage3",
85
  "stage4"
86
  ],
87
- "strides": [
88
- 4,
89
- 2,
90
- 2,
91
- 2
92
- ],
93
  "torch_dtype": "float32",
94
- "transformers_version": "4.39.3"
 
 
95
  }
 
1
  {
2
+ "_name_or_path": "microsoft/swinv2-base-patch4-window8-256",
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": 128,
15
+ "encoder_stride": 32,
16
  "hidden_act": "gelu",
17
  "hidden_dropout_prob": 0.0,
18
+ "hidden_size": 1024,
 
 
 
 
 
19
  "id2label": {
20
  "0": "Blur",
21
  "1": "Bokeh",
22
  "2": "Normal"
23
  },
24
+ "image_size": 256,
 
 
 
25
  "initializer_range": 0.02,
26
  "label2id": {
27
  "Blur": "0",
28
  "Bokeh": "1",
29
  "Normal": "2"
30
  },
31
+ "layer_norm_eps": 1e-05,
32
+ "mlp_ratio": 4.0,
33
+ "model_type": "swinv2",
34
+ "num_channels": 3,
35
+ "num_heads": [
36
  4,
37
+ 8,
38
+ 16,
39
+ 32
 
 
 
 
 
40
  ],
41
+ "num_layers": 4,
 
42
  "out_features": [
 
 
 
43
  "stage4"
44
  ],
45
  "out_indices": [
46
+ 4
 
 
 
47
  ],
48
+ "patch_size": 4,
49
+ "path_norm": true,
50
+ "pretrained_window_sizes": [
51
+ 0,
52
+ 0,
53
+ 0,
54
+ 0
55
  ],
56
  "problem_type": "single_label_classification",
57
  "qkv_bias": true,
 
 
 
 
 
 
 
58
  "stage_names": [
59
+ "stem",
60
  "stage1",
61
  "stage2",
62
  "stage3",
63
  "stage4"
64
  ],
 
 
 
 
 
 
65
  "torch_dtype": "float32",
66
+ "transformers_version": "4.39.3",
67
+ "use_absolute_embeddings": false,
68
+ "window_size": 8
69
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:da4681fbaf147d3f17aac0ce927cbc205385a2d0197e755f50718984dac89137
3
- size 325922948
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a62a36c599146deb32bf62434eac1594bef978c9233b6080427a3038c148b63
3
+ size 347649588
preprocessor_config.json CHANGED
@@ -21,16 +21,16 @@
21
  0.456,
22
  0.406
23
  ],
24
- "image_processor_type": "PvtImageProcessor",
25
  "image_std": [
26
  0.229,
27
  0.224,
28
  0.225
29
  ],
30
- "resample": 2,
31
  "rescale_factor": 0.00392156862745098,
32
  "size": {
33
- "height": 224,
34
- "width": 224
35
  }
36
  }
 
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/events.out.tfevents.1712463443.ef947b633a60.345.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c670e559e11a2f6d5451b3a03a95d5d0d0fce0cff14da66970ecd104157ea00
3
+ size 6806