hf-transformers-bot commited on
Commit
9075054
·
verified ·
1 Parent(s): 74babfb

Update tiny models for PPLCNetBackbone

Browse files
Files changed (3) hide show
  1. config.json +153 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +41 -0
config.json ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "PPLCNetBackbone"
4
+ ],
5
+ "block_configs": [
6
+ [
7
+ [
8
+ 3,
9
+ 16,
10
+ 32,
11
+ 1,
12
+ false
13
+ ]
14
+ ],
15
+ [
16
+ [
17
+ 3,
18
+ 32,
19
+ 32,
20
+ 2,
21
+ false
22
+ ],
23
+ [
24
+ 3,
25
+ 32,
26
+ 32,
27
+ 1,
28
+ false
29
+ ]
30
+ ],
31
+ [
32
+ [
33
+ 3,
34
+ 32,
35
+ 32,
36
+ 2,
37
+ false
38
+ ],
39
+ [
40
+ 3,
41
+ 32,
42
+ 32,
43
+ 1,
44
+ false
45
+ ]
46
+ ],
47
+ [
48
+ [
49
+ 3,
50
+ 32,
51
+ 32,
52
+ 2,
53
+ false
54
+ ],
55
+ [
56
+ 5,
57
+ 32,
58
+ 32,
59
+ 1,
60
+ false
61
+ ],
62
+ [
63
+ 5,
64
+ 32,
65
+ 32,
66
+ 1,
67
+ false
68
+ ],
69
+ [
70
+ 5,
71
+ 32,
72
+ 32,
73
+ 1,
74
+ false
75
+ ],
76
+ [
77
+ 5,
78
+ 32,
79
+ 32,
80
+ 1,
81
+ false
82
+ ],
83
+ [
84
+ 5,
85
+ 32,
86
+ 32,
87
+ 1,
88
+ false
89
+ ]
90
+ ],
91
+ [
92
+ [
93
+ 5,
94
+ 32,
95
+ 32,
96
+ 2,
97
+ true
98
+ ],
99
+ [
100
+ 5,
101
+ 32,
102
+ 32,
103
+ 1,
104
+ true
105
+ ]
106
+ ]
107
+ ],
108
+ "class_expand": 1280,
109
+ "depths": [
110
+ 1,
111
+ 2,
112
+ 2,
113
+ 6,
114
+ 2
115
+ ],
116
+ "divisor": 8,
117
+ "dropout_prob": 0.2,
118
+ "dtype": "float32",
119
+ "hidden_act": "hardswish",
120
+ "hidden_dropout_prob": 0.2,
121
+ "id2label": {
122
+ "0": "0",
123
+ "1": "90",
124
+ "2": "180",
125
+ "3": "270"
126
+ },
127
+ "label2id": null,
128
+ "model_type": "pp_lcnet",
129
+ "out_features": [
130
+ "stage2",
131
+ "stage3",
132
+ "stage4"
133
+ ],
134
+ "out_indices": [
135
+ 2,
136
+ 3,
137
+ 4
138
+ ],
139
+ "reduction": 4,
140
+ "scale": 1.0,
141
+ "stage_names": [
142
+ "stem",
143
+ "stage1",
144
+ "stage2",
145
+ "stage3",
146
+ "stage4",
147
+ "stage5"
148
+ ],
149
+ "stem_channels": 16,
150
+ "stem_stride": 2,
151
+ "transformers_version": "5.16.0.dev0",
152
+ "use_last_conv": true
153
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fce4f67c71cca4613d10e44bf4e561d60efae946f23d5e520d37d6ea071adafa
3
+ size 121944
preprocessor_config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "channel_first": false,
3
+ "crop_size": {
4
+ "height": 224,
5
+ "width": 224
6
+ },
7
+ "do_center_crop": true,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "image_mean": [
12
+ 0.406,
13
+ 0.456,
14
+ 0.485
15
+ ],
16
+ "image_mode": "BGR",
17
+ "image_processor_type": "PPLCNetImageProcessor",
18
+ "image_std": [
19
+ 0.225,
20
+ 0.224,
21
+ 0.229
22
+ ],
23
+ "keep_keys": [
24
+ "image",
25
+ "shape",
26
+ "polys",
27
+ "ignore_tags"
28
+ ],
29
+ "model_input_names": [
30
+ "pixel_values",
31
+ "original_image_size"
32
+ ],
33
+ "resample": 2,
34
+ "rescale_factor": 0.00392156862745098,
35
+ "resize_short": 256,
36
+ "size": {
37
+ "height": 256,
38
+ "width": 256
39
+ },
40
+ "size_divisor": 1
41
+ }