commit files to HF hub
Browse files- README.md +1 -1
- config.json +32 -58
- model.safetensors +2 -2
- preprocessor_config.json +4 -4
- runs/events.out.tfevents.1712463443.ef947b633a60.345.0 +3 -0
README.md
CHANGED
@@ -15,7 +15,7 @@ model-index:
|
|
15 |
metrics:
|
16 |
- name: Accuracy
|
17 |
type: accuracy
|
18 |
-
value: 0.
|
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": "
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.0,
|
7 |
"depths": [
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
],
|
13 |
-
"drop_path_rate": 0.
|
|
|
|
|
14 |
"hidden_act": "gelu",
|
15 |
"hidden_dropout_prob": 0.0,
|
16 |
-
"
|
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-
|
38 |
-
"
|
39 |
-
"
|
40 |
-
|
41 |
-
|
42 |
4,
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
"num_attention_heads": [
|
47 |
-
1,
|
48 |
-
2,
|
49 |
-
5,
|
50 |
-
8
|
51 |
],
|
52 |
-
"
|
53 |
-
"num_encoder_blocks": 4,
|
54 |
"out_features": [
|
55 |
-
"stage1",
|
56 |
-
"stage2",
|
57 |
-
"stage3",
|
58 |
"stage4"
|
59 |
],
|
60 |
"out_indices": [
|
61 |
-
|
62 |
-
1,
|
63 |
-
2,
|
64 |
-
3
|
65 |
],
|
66 |
-
"
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
|
|
|
|
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:
|
3 |
-
size
|
|
|
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": "
|
25 |
"image_std": [
|
26 |
0.229,
|
27 |
0.224,
|
28 |
0.225
|
29 |
],
|
30 |
-
"resample":
|
31 |
"rescale_factor": 0.00392156862745098,
|
32 |
"size": {
|
33 |
-
"height":
|
34 |
-
"width":
|
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
|