FredZhang7 commited on
Commit
33ce144
·
1 Parent(s): 75208a0

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +18 -30
config.json CHANGED
@@ -1,47 +1,35 @@
1
  {
2
- "architectures": [
3
- "SafeSearchModel"
4
- ],
5
- "auto_map": {
6
- "AutoConfig": "model.SafeSearchConfig",
7
- "AutoModelForImageClassification": "model.SafeSearchModel"
8
- },
9
- "classes": {
10
- "0": "nsfw_gore",
11
- "1": "nsfw_suggestive",
12
- "2": "safe"
13
- },
14
- "classifier": "default",
15
- "crop_pct": 0.875,
16
- "device": "cpu",
17
- "first_conv": "conv2d_1a.conv",
18
- "has_aux": false,
19
- "input_channels": 3,
20
  "input_size": [
21
  3,
22
  299,
23
  299
24
  ],
 
 
 
 
 
25
  "interpolation": "bicubic",
26
- "label_offset": 0,
27
  "mean": [
28
  0.5,
29
  0.5,
30
  0.5
31
  ],
32
- "model_name": "safesearch_mini_v2",
33
- "model_type": "safesearch_mini_v2",
34
- "num_classes": 3,
35
- "output_channels": 1536,
36
- "pool_size": [
37
- 8,
38
- 8
39
- ],
40
  "std": [
41
  0.5,
42
  0.5,
43
  0.5
44
  ],
45
- "torch_dtype": "float32",
46
- "transformers_version": "4.25.1"
47
- }
 
 
 
 
 
 
 
 
 
1
  {
2
+ "url": "https://huggingface.co/FredZhang7/google-safesearch-mini-v2/resolve/main/pytorch_model.bin",
3
+ "num_classes": 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
+ "first_conv": "conv2d_1a.conv",
26
+ "classifier": "classif",
27
+ "label_offset": 0,
28
+ "num_features": 1536,
29
+ "architecture": "inception_resnet_v2",
30
+ "labels": [
31
+ "nsfw_gore",
32
+ "nsfw_suggestive",
33
+ "safe"
34
+ ]
35
+ }