Factral commited on
Commit
bd35e74
1 Parent(s): 4bab18f

Upload 4 files

Browse files
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "test",
3
+ "depths": [
4
+ 3,
5
+ 4,
6
+ 6,
7
+ 3
8
+ ],
9
+ "downsample_in_bottleneck": false,
10
+ "downsample_in_first_stage": false,
11
+ "embedding_size": 64,
12
+ "freeze": true,
13
+ "hidden_act": "relu",
14
+ "hidden_sizes": [
15
+ 256,
16
+ 512,
17
+ 1024,
18
+ 2048
19
+ ],
20
+ "layer_type": "bottleneck",
21
+ "model_type": "resnet",
22
+ "num_channels": 3,
23
+ "out_features": [
24
+ "stage4"
25
+ ],
26
+ "out_indices": [
27
+ 4
28
+ ],
29
+ "outputs": 5,
30
+ "pretrained": true,
31
+ "stage_names": [
32
+ "stem",
33
+ "stage1",
34
+ "stage2",
35
+ "stage3",
36
+ "stage4"
37
+ ],
38
+ "transformers_version": "4.42.4"
39
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8aac3ab1863b952ddc7f7aade004f3a1477b9141d80eb41140566999fee83412
3
+ size 93889646
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70ad3f32d1eeceb9aa68406c667bc2528dd53dc61ca39a8d313f4645645aa6cc
3
+ size 23647743
quantize_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "MaxPool",
8
+ "Identity",
9
+ "Flatten",
10
+ "Relu",
11
+ "GlobalAveragePool",
12
+ "Add",
13
+ "Conv",
14
+ "Gemm"
15
+ ],
16
+ "weight_type": "QUInt8"
17
+ }
18
+ }
19
+ }