jiechau commited on
Commit
1b3981e
1 Parent(s): b397c00

update model.onnx

Browse files
onnx/model.onnx → model.onnx RENAMED
File without changes
onnx/config.json DELETED
@@ -1,33 +0,0 @@
1
- {
2
- "_name_or_path": "jiechau/adult-content-identify-image",
3
- "architectures": [
4
- "ViTForImageClassification"
5
- ],
6
- "attention_probs_dropout_prob": 0.0,
7
- "encoder_stride": 16,
8
- "hidden_act": "gelu",
9
- "hidden_dropout_prob": 0.0,
10
- "hidden_size": 768,
11
- "id2label": {
12
- "0": "unknown",
13
- "1": "adult_\u6210\u4eba\u5546\u54c1",
14
- "2": "regular_\u4e00\u822c\u5546\u54c1"
15
- },
16
- "image_size": 224,
17
- "initializer_range": 0.02,
18
- "intermediate_size": 3072,
19
- "label2id": {
20
- "adult_\u6210\u4eba\u5546\u54c1": 1,
21
- "regular_\u4e00\u822c\u5546\u54c1": 2,
22
- "unknown": 0
23
- },
24
- "layer_norm_eps": 1e-12,
25
- "model_type": "vit",
26
- "num_attention_heads": 12,
27
- "num_channels": 3,
28
- "num_hidden_layers": 12,
29
- "patch_size": 16,
30
- "problem_type": "single_label_classification",
31
- "qkv_bias": true,
32
- "transformers_version": "4.37.1"
33
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
onnx/preprocessor_config.json DELETED
@@ -1,22 +0,0 @@
1
- {
2
- "do_normalize": true,
3
- "do_rescale": true,
4
- "do_resize": true,
5
- "image_mean": [
6
- 0.5,
7
- 0.5,
8
- 0.5
9
- ],
10
- "image_processor_type": "ViTFeatureExtractor",
11
- "image_std": [
12
- 0.5,
13
- 0.5,
14
- 0.5
15
- ],
16
- "resample": 2,
17
- "rescale_factor": 0.00392156862745098,
18
- "size": {
19
- "height": 224,
20
- "width": 224
21
- }
22
- }