pufanyi commited on
Commit
eb95905
·
verified ·
1 Parent(s): 25e33ba

Add model export

Browse files
Files changed (3) hide show
  1. config.json +249 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +22 -0
config.json ADDED
@@ -0,0 +1,249 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ConvNextV2ForImageClassification"
4
+ ],
5
+ "depths": [
6
+ 2,
7
+ 2,
8
+ 6,
9
+ 2
10
+ ],
11
+ "drop_path_rate": 0.0,
12
+ "dtype": "float32",
13
+ "hidden_act": "gelu",
14
+ "hidden_sizes": [
15
+ 64,
16
+ 128,
17
+ 256,
18
+ 512
19
+ ],
20
+ "id2label": {
21
+ "0": "pink primrose",
22
+ "1": "hard-leaved pocket orchid",
23
+ "2": "canterbury bells",
24
+ "3": "sweet pea",
25
+ "4": "english marigold",
26
+ "5": "tiger lily",
27
+ "6": "moon orchid",
28
+ "7": "bird of paradise",
29
+ "8": "monkshood",
30
+ "9": "globe thistle",
31
+ "10": "snapdragon",
32
+ "11": "colt's foot",
33
+ "12": "king protea",
34
+ "13": "spear thistle",
35
+ "14": "yellow iris",
36
+ "15": "globe-flower",
37
+ "16": "purple coneflower",
38
+ "17": "peruvian lily",
39
+ "18": "balloon flower",
40
+ "19": "giant white arum lily",
41
+ "20": "fire lily",
42
+ "21": "pincushion flower",
43
+ "22": "fritillary",
44
+ "23": "red ginger",
45
+ "24": "grape hyacinth",
46
+ "25": "corn poppy",
47
+ "26": "prince of wales feathers",
48
+ "27": "stemless gentian",
49
+ "28": "artichoke",
50
+ "29": "sweet william",
51
+ "30": "carnation",
52
+ "31": "garden phlox",
53
+ "32": "love in the mist",
54
+ "33": "mexican aster",
55
+ "34": "alpine sea holly",
56
+ "35": "ruby-lipped cattleya",
57
+ "36": "cape flower",
58
+ "37": "great masterwort",
59
+ "38": "siam tulip",
60
+ "39": "lenten rose",
61
+ "40": "barbeton daisy",
62
+ "41": "daffodil",
63
+ "42": "sword lily",
64
+ "43": "poinsettia",
65
+ "44": "bolero deep blue",
66
+ "45": "wallflower",
67
+ "46": "marigold",
68
+ "47": "buttercup",
69
+ "48": "oxeye daisy",
70
+ "49": "common dandelion",
71
+ "50": "petunia",
72
+ "51": "wild pansy",
73
+ "52": "primula",
74
+ "53": "sunflower",
75
+ "54": "pelargonium",
76
+ "55": "bishop of llandaff",
77
+ "56": "gaura",
78
+ "57": "geranium",
79
+ "58": "orange dahlia",
80
+ "59": "pink-yellow dahlia?",
81
+ "60": "cautleya spicata",
82
+ "61": "japanese anemone",
83
+ "62": "black-eyed susan",
84
+ "63": "silverbush",
85
+ "64": "californian poppy",
86
+ "65": "osteospermum",
87
+ "66": "spring crocus",
88
+ "67": "bearded iris",
89
+ "68": "windflower",
90
+ "69": "tree poppy",
91
+ "70": "gazania",
92
+ "71": "azalea",
93
+ "72": "water lily",
94
+ "73": "rose",
95
+ "74": "thorn apple",
96
+ "75": "morning glory",
97
+ "76": "passion flower",
98
+ "77": "lotus",
99
+ "78": "toad lily",
100
+ "79": "anthurium",
101
+ "80": "frangipani",
102
+ "81": "clematis",
103
+ "82": "hibiscus",
104
+ "83": "columbine",
105
+ "84": "desert-rose",
106
+ "85": "tree mallow",
107
+ "86": "magnolia",
108
+ "87": "cyclamen",
109
+ "88": "watercress",
110
+ "89": "canna lily",
111
+ "90": "hippeastrum",
112
+ "91": "bee balm",
113
+ "92": "ball moss",
114
+ "93": "foxglove",
115
+ "94": "bougainvillea",
116
+ "95": "camellia",
117
+ "96": "mallow",
118
+ "97": "mexican petunia",
119
+ "98": "bromelia",
120
+ "99": "blanket flower",
121
+ "100": "trumpet creeper",
122
+ "101": "blackberry lily"
123
+ },
124
+ "image_size": 224,
125
+ "initializer_range": 0.02,
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_norm_eps": 1e-12,
231
+ "model_type": "convnextv2",
232
+ "num_channels": 3,
233
+ "num_stages": 4,
234
+ "out_features": [
235
+ "stage4"
236
+ ],
237
+ "out_indices": [
238
+ 4
239
+ ],
240
+ "patch_size": 4,
241
+ "stage_names": [
242
+ "stem",
243
+ "stage1",
244
+ "stage2",
245
+ "stage3",
246
+ "stage4"
247
+ ],
248
+ "transformers_version": "4.57.1"
249
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56c2cb15af7926fc881ed682856012ac88028b5f610c62cd37ad3e40f3939224
3
+ size 34438896
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
+ }