FredZhang7
commited on
Commit
·
d237e30
1
Parent(s):
8234f00
Update config.json
Browse files- config.json +20 -17
config.json
CHANGED
@@ -1,35 +1,38 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
"input_size": [
|
5 |
3,
|
6 |
299,
|
7 |
299
|
8 |
],
|
9 |
-
"pool_size": [
|
10 |
-
8,
|
11 |
-
8
|
12 |
-
],
|
13 |
-
"crop_pct": 0.8975,
|
14 |
"interpolation": "bicubic",
|
|
|
15 |
"mean": [
|
16 |
0.5,
|
17 |
0.5,
|
18 |
0.5
|
19 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
"std": [
|
21 |
0.5,
|
22 |
0.5,
|
23 |
0.5
|
24 |
],
|
25 |
-
"
|
26 |
-
"classifier": "classif",
|
27 |
-
"label_offset": 1,
|
28 |
-
"num_features": 1536,
|
29 |
-
"architecture": "inception_resnet_v2",
|
30 |
-
"labels": [
|
31 |
-
"nsfw_gore",
|
32 |
-
"nsfw_suggestive",
|
33 |
-
"safe"
|
34 |
-
]
|
35 |
}
|
|
|
1 |
{
|
2 |
+
"classes": {
|
3 |
+
"0": "nsfw_gore",
|
4 |
+
"1": "nsfw_suggestive",
|
5 |
+
"2": "safe"
|
6 |
+
},
|
7 |
+
"classifier": "default",
|
8 |
+
"crop_pct": 0.875,
|
9 |
+
"first_conv": "conv2d",
|
10 |
+
"has_aux": false,
|
11 |
+
"input_channels": 3,
|
12 |
"input_size": [
|
13 |
3,
|
14 |
299,
|
15 |
299
|
16 |
],
|
|
|
|
|
|
|
|
|
|
|
17 |
"interpolation": "bicubic",
|
18 |
+
"label_offset": 0,
|
19 |
"mean": [
|
20 |
0.5,
|
21 |
0.5,
|
22 |
0.5
|
23 |
],
|
24 |
+
"model_name": "safesearch_mini_v2",
|
25 |
+
"model_type": "safesearch_mini_v2",
|
26 |
+
"num_classes": 3,
|
27 |
+
"output_channels": 1536,
|
28 |
+
"pool_size": [
|
29 |
+
8,
|
30 |
+
8
|
31 |
+
],
|
32 |
"std": [
|
33 |
0.5,
|
34 |
0.5,
|
35 |
0.5
|
36 |
],
|
37 |
+
"transformers_version": "4.26.1"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
}
|