chain-pin commited on
Commit
94cfd0f
·
1 Parent(s): bc33fb2

Upload 2 files

Browse files
Files changed (2) hide show
  1. config.json +47 -0
  2. ort_config.json +30 -0
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/tmp/tmph2el8qab",
3
+ "architectures": [
4
+ "ResNetForImageClassification"
5
+ ],
6
+ "depths": [
7
+ 3,
8
+ 4,
9
+ 6,
10
+ 3
11
+ ],
12
+ "downsample_in_first_stage": false,
13
+ "embedding_size": 64,
14
+ "hidden_act": "relu",
15
+ "hidden_sizes": [
16
+ 256,
17
+ 512,
18
+ 1024,
19
+ 2048
20
+ ],
21
+ "id2label": {
22
+ "1": "pos",
23
+ "2": "neg"
24
+ },
25
+ "label2id": {
26
+ "neg": 0,
27
+ "pos": 1
28
+ },
29
+ "layer_type": "bottleneck",
30
+ "model_type": "resnet",
31
+ "num_channels": 3,
32
+ "out_features": [
33
+ "stage4"
34
+ ],
35
+ "out_indices": [
36
+ 4
37
+ ],
38
+ "stage_names": [
39
+ "stem",
40
+ "stage1",
41
+ "stage2",
42
+ "stage3",
43
+ "stage4"
44
+ ],
45
+ "torch_dtype": "float32",
46
+ "transformers_version": "4.30.0.dev0"
47
+ }
ort_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "one_external_file": true,
3
+ "opset": null,
4
+ "optimization": {},
5
+ "optimum_version": "1.8.5.dev0",
6
+ "quantization": {
7
+ "activations_dtype": "QUInt8",
8
+ "activations_symmetric": false,
9
+ "format": "QOperator",
10
+ "is_static": false,
11
+ "mode": "IntegerOps",
12
+ "nodes_to_exclude": [],
13
+ "nodes_to_quantize": [],
14
+ "operators_to_quantize": [
15
+ "MatMul",
16
+ "Add"
17
+ ],
18
+ "per_channel": false,
19
+ "qdq_add_pair_to_weight": false,
20
+ "qdq_dedicated_pair": false,
21
+ "qdq_op_type_per_channel_support_to_axis": {
22
+ "MatMul": 1
23
+ },
24
+ "reduce_range": false,
25
+ "weights_dtype": "QInt8",
26
+ "weights_symmetric": true
27
+ },
28
+ "transformers_version": "4.30.0.dev0",
29
+ "use_external_data_format": false
30
+ }