pufanyi commited on
Commit
15dd12e
·
verified ·
1 Parent(s): b52e9c3

Add model export

Browse files
Files changed (3) hide show
  1. config.json +247 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +22 -0
config.json ADDED
@@ -0,0 +1,247 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ResNetForImageClassification"
4
+ ],
5
+ "depths": [
6
+ 2,
7
+ 2,
8
+ 2,
9
+ 2
10
+ ],
11
+ "downsample_in_bottleneck": false,
12
+ "downsample_in_first_stage": false,
13
+ "dtype": "float32",
14
+ "embedding_size": 64,
15
+ "hidden_act": "relu",
16
+ "hidden_sizes": [
17
+ 64,
18
+ 128,
19
+ 256,
20
+ 512
21
+ ],
22
+ "id2label": {
23
+ "0": "pink primrose",
24
+ "1": "hard-leaved pocket orchid",
25
+ "2": "canterbury bells",
26
+ "3": "sweet pea",
27
+ "4": "english marigold",
28
+ "5": "tiger lily",
29
+ "6": "moon orchid",
30
+ "7": "bird of paradise",
31
+ "8": "monkshood",
32
+ "9": "globe thistle",
33
+ "10": "snapdragon",
34
+ "11": "colt's foot",
35
+ "12": "king protea",
36
+ "13": "spear thistle",
37
+ "14": "yellow iris",
38
+ "15": "globe-flower",
39
+ "16": "purple coneflower",
40
+ "17": "peruvian lily",
41
+ "18": "balloon flower",
42
+ "19": "giant white arum lily",
43
+ "20": "fire lily",
44
+ "21": "pincushion flower",
45
+ "22": "fritillary",
46
+ "23": "red ginger",
47
+ "24": "grape hyacinth",
48
+ "25": "corn poppy",
49
+ "26": "prince of wales feathers",
50
+ "27": "stemless gentian",
51
+ "28": "artichoke",
52
+ "29": "sweet william",
53
+ "30": "carnation",
54
+ "31": "garden phlox",
55
+ "32": "love in the mist",
56
+ "33": "mexican aster",
57
+ "34": "alpine sea holly",
58
+ "35": "ruby-lipped cattleya",
59
+ "36": "cape flower",
60
+ "37": "great masterwort",
61
+ "38": "siam tulip",
62
+ "39": "lenten rose",
63
+ "40": "barbeton daisy",
64
+ "41": "daffodil",
65
+ "42": "sword lily",
66
+ "43": "poinsettia",
67
+ "44": "bolero deep blue",
68
+ "45": "wallflower",
69
+ "46": "marigold",
70
+ "47": "buttercup",
71
+ "48": "oxeye daisy",
72
+ "49": "common dandelion",
73
+ "50": "petunia",
74
+ "51": "wild pansy",
75
+ "52": "primula",
76
+ "53": "sunflower",
77
+ "54": "pelargonium",
78
+ "55": "bishop of llandaff",
79
+ "56": "gaura",
80
+ "57": "geranium",
81
+ "58": "orange dahlia",
82
+ "59": "pink-yellow dahlia?",
83
+ "60": "cautleya spicata",
84
+ "61": "japanese anemone",
85
+ "62": "black-eyed susan",
86
+ "63": "silverbush",
87
+ "64": "californian poppy",
88
+ "65": "osteospermum",
89
+ "66": "spring crocus",
90
+ "67": "bearded iris",
91
+ "68": "windflower",
92
+ "69": "tree poppy",
93
+ "70": "gazania",
94
+ "71": "azalea",
95
+ "72": "water lily",
96
+ "73": "rose",
97
+ "74": "thorn apple",
98
+ "75": "morning glory",
99
+ "76": "passion flower",
100
+ "77": "lotus",
101
+ "78": "toad lily",
102
+ "79": "anthurium",
103
+ "80": "frangipani",
104
+ "81": "clematis",
105
+ "82": "hibiscus",
106
+ "83": "columbine",
107
+ "84": "desert-rose",
108
+ "85": "tree mallow",
109
+ "86": "magnolia",
110
+ "87": "cyclamen",
111
+ "88": "watercress",
112
+ "89": "canna lily",
113
+ "90": "hippeastrum",
114
+ "91": "bee balm",
115
+ "92": "ball moss",
116
+ "93": "foxglove",
117
+ "94": "bougainvillea",
118
+ "95": "camellia",
119
+ "96": "mallow",
120
+ "97": "mexican petunia",
121
+ "98": "bromelia",
122
+ "99": "blanket flower",
123
+ "100": "trumpet creeper",
124
+ "101": "blackberry lily"
125
+ },
126
+ "label2id": {
127
+ "alpine sea holly": 34,
128
+ "anthurium": 79,
129
+ "artichoke": 28,
130
+ "azalea": 71,
131
+ "ball moss": 92,
132
+ "balloon flower": 18,
133
+ "barbeton daisy": 40,
134
+ "bearded iris": 67,
135
+ "bee balm": 91,
136
+ "bird of paradise": 7,
137
+ "bishop of llandaff": 55,
138
+ "black-eyed susan": 62,
139
+ "blackberry lily": 101,
140
+ "blanket flower": 99,
141
+ "bolero deep blue": 44,
142
+ "bougainvillea": 94,
143
+ "bromelia": 98,
144
+ "buttercup": 47,
145
+ "californian poppy": 64,
146
+ "camellia": 95,
147
+ "canna lily": 89,
148
+ "canterbury bells": 2,
149
+ "cape flower": 36,
150
+ "carnation": 30,
151
+ "cautleya spicata": 60,
152
+ "clematis": 81,
153
+ "colt's foot": 11,
154
+ "columbine": 83,
155
+ "common dandelion": 49,
156
+ "corn poppy": 25,
157
+ "cyclamen": 87,
158
+ "daffodil": 41,
159
+ "desert-rose": 84,
160
+ "english marigold": 4,
161
+ "fire lily": 20,
162
+ "foxglove": 93,
163
+ "frangipani": 80,
164
+ "fritillary": 22,
165
+ "garden phlox": 31,
166
+ "gaura": 56,
167
+ "gazania": 70,
168
+ "geranium": 57,
169
+ "giant white arum lily": 19,
170
+ "globe thistle": 9,
171
+ "globe-flower": 15,
172
+ "grape hyacinth": 24,
173
+ "great masterwort": 37,
174
+ "hard-leaved pocket orchid": 1,
175
+ "hibiscus": 82,
176
+ "hippeastrum": 90,
177
+ "japanese anemone": 61,
178
+ "king protea": 12,
179
+ "lenten rose": 39,
180
+ "lotus": 77,
181
+ "love in the mist": 32,
182
+ "magnolia": 86,
183
+ "mallow": 96,
184
+ "marigold": 46,
185
+ "mexican aster": 33,
186
+ "mexican petunia": 97,
187
+ "monkshood": 8,
188
+ "moon orchid": 6,
189
+ "morning glory": 75,
190
+ "orange dahlia": 58,
191
+ "osteospermum": 65,
192
+ "oxeye daisy": 48,
193
+ "passion flower": 76,
194
+ "pelargonium": 54,
195
+ "peruvian lily": 17,
196
+ "petunia": 50,
197
+ "pincushion flower": 21,
198
+ "pink primrose": 0,
199
+ "pink-yellow dahlia?": 59,
200
+ "poinsettia": 43,
201
+ "primula": 52,
202
+ "prince of wales feathers": 26,
203
+ "purple coneflower": 16,
204
+ "red ginger": 23,
205
+ "rose": 73,
206
+ "ruby-lipped cattleya": 35,
207
+ "siam tulip": 38,
208
+ "silverbush": 63,
209
+ "snapdragon": 10,
210
+ "spear thistle": 13,
211
+ "spring crocus": 66,
212
+ "stemless gentian": 27,
213
+ "sunflower": 53,
214
+ "sweet pea": 3,
215
+ "sweet william": 29,
216
+ "sword lily": 42,
217
+ "thorn apple": 74,
218
+ "tiger lily": 5,
219
+ "toad lily": 78,
220
+ "tree mallow": 85,
221
+ "tree poppy": 69,
222
+ "trumpet creeper": 100,
223
+ "wallflower": 45,
224
+ "water lily": 72,
225
+ "watercress": 88,
226
+ "wild pansy": 51,
227
+ "windflower": 68,
228
+ "yellow iris": 14
229
+ },
230
+ "layer_type": "basic",
231
+ "model_type": "resnet",
232
+ "num_channels": 3,
233
+ "out_features": [
234
+ "stage4"
235
+ ],
236
+ "out_indices": [
237
+ 4
238
+ ],
239
+ "stage_names": [
240
+ "stem",
241
+ "stage1",
242
+ "stage2",
243
+ "stage3",
244
+ "stage4"
245
+ ],
246
+ "transformers_version": "4.57.1"
247
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b4e4c323d61ab8f8ab220c86e8920d23b5420a94758c5b25da2343ef026f379
3
+ size 44969560
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_pct": 0.875,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.485,
8
+ 0.456,
9
+ 0.406
10
+ ],
11
+ "image_processor_type": "ConvNextImageProcessor",
12
+ "image_std": [
13
+ 0.229,
14
+ 0.224,
15
+ 0.225
16
+ ],
17
+ "resample": 3,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "shortest_edge": 224
21
+ }
22
+ }