Save model using Keras.
Browse files- README.md +13 -0
- assets/config.png +0 -0
- config.json +346 -0
- metadata.json +4 -0
- model.weights.h5 +3 -0
README.md
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
library_name: keras
|
4 |
+
---
|
5 |
+
|
6 |
+
This model has been uploaded using the Keras library and can be used with JAX, TensorFlow, and PyTorch backends.
|
7 |
+
|
8 |
+
This model card has been generated automatically and should be completed by the model author. See [Model Cards documentation](https://huggingface.co/docs/hub/model-cards) for more information.
|
9 |
+
|
10 |
+
For more details about the model architecture, check out [config.json](./config.json).
|
11 |
+
|
12 |
+
|
13 |
+
![](./assets/config.png)
|
assets/config.png
ADDED
config.json
ADDED
@@ -0,0 +1,346 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"module": "keras",
|
3 |
+
"class_name": "Sequential",
|
4 |
+
"config": {
|
5 |
+
"name": "sequential",
|
6 |
+
"trainable": true,
|
7 |
+
"dtype": {
|
8 |
+
"module": "keras",
|
9 |
+
"class_name": "FloatDTypePolicy",
|
10 |
+
"config": {
|
11 |
+
"name": "float32"
|
12 |
+
},
|
13 |
+
"registered_name": null,
|
14 |
+
"shared_object_id": 140283585819024
|
15 |
+
},
|
16 |
+
"layers": [
|
17 |
+
{
|
18 |
+
"module": "keras.layers",
|
19 |
+
"class_name": "InputLayer",
|
20 |
+
"config": {
|
21 |
+
"batch_shape": [
|
22 |
+
null,
|
23 |
+
28,
|
24 |
+
28,
|
25 |
+
1
|
26 |
+
],
|
27 |
+
"dtype": "float32",
|
28 |
+
"sparse": false,
|
29 |
+
"name": "input_layer"
|
30 |
+
},
|
31 |
+
"registered_name": null
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"module": "keras.layers",
|
35 |
+
"class_name": "Conv2D",
|
36 |
+
"config": {
|
37 |
+
"name": "conv2d",
|
38 |
+
"trainable": true,
|
39 |
+
"dtype": {
|
40 |
+
"module": "keras",
|
41 |
+
"class_name": "FloatDTypePolicy",
|
42 |
+
"config": {
|
43 |
+
"name": "float32"
|
44 |
+
},
|
45 |
+
"registered_name": null
|
46 |
+
},
|
47 |
+
"filters": 32,
|
48 |
+
"kernel_size": [
|
49 |
+
3,
|
50 |
+
3
|
51 |
+
],
|
52 |
+
"strides": [
|
53 |
+
1,
|
54 |
+
1
|
55 |
+
],
|
56 |
+
"padding": "valid",
|
57 |
+
"data_format": "channels_last",
|
58 |
+
"dilation_rate": [
|
59 |
+
1,
|
60 |
+
1
|
61 |
+
],
|
62 |
+
"groups": 1,
|
63 |
+
"activation": "relu",
|
64 |
+
"use_bias": true,
|
65 |
+
"kernel_initializer": {
|
66 |
+
"module": "keras.initializers",
|
67 |
+
"class_name": "GlorotUniform",
|
68 |
+
"config": {
|
69 |
+
"seed": null
|
70 |
+
},
|
71 |
+
"registered_name": null
|
72 |
+
},
|
73 |
+
"bias_initializer": {
|
74 |
+
"module": "keras.initializers",
|
75 |
+
"class_name": "Zeros",
|
76 |
+
"config": {},
|
77 |
+
"registered_name": null
|
78 |
+
},
|
79 |
+
"kernel_regularizer": null,
|
80 |
+
"bias_regularizer": null,
|
81 |
+
"activity_regularizer": null,
|
82 |
+
"kernel_constraint": null,
|
83 |
+
"bias_constraint": null
|
84 |
+
},
|
85 |
+
"registered_name": null,
|
86 |
+
"build_config": {
|
87 |
+
"input_shape": [
|
88 |
+
null,
|
89 |
+
28,
|
90 |
+
28,
|
91 |
+
1
|
92 |
+
]
|
93 |
+
}
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"module": "keras.layers",
|
97 |
+
"class_name": "MaxPooling2D",
|
98 |
+
"config": {
|
99 |
+
"name": "max_pooling2d",
|
100 |
+
"trainable": true,
|
101 |
+
"dtype": {
|
102 |
+
"module": "keras",
|
103 |
+
"class_name": "FloatDTypePolicy",
|
104 |
+
"config": {
|
105 |
+
"name": "float32"
|
106 |
+
},
|
107 |
+
"registered_name": null,
|
108 |
+
"shared_object_id": 140283585819024
|
109 |
+
},
|
110 |
+
"pool_size": [
|
111 |
+
2,
|
112 |
+
2
|
113 |
+
],
|
114 |
+
"padding": "valid",
|
115 |
+
"strides": [
|
116 |
+
2,
|
117 |
+
2
|
118 |
+
],
|
119 |
+
"data_format": "channels_last"
|
120 |
+
},
|
121 |
+
"registered_name": null,
|
122 |
+
"build_config": {
|
123 |
+
"input_shape": [
|
124 |
+
null,
|
125 |
+
26,
|
126 |
+
26,
|
127 |
+
32
|
128 |
+
]
|
129 |
+
}
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"module": "keras.layers",
|
133 |
+
"class_name": "Conv2D",
|
134 |
+
"config": {
|
135 |
+
"name": "conv2d_1",
|
136 |
+
"trainable": true,
|
137 |
+
"dtype": {
|
138 |
+
"module": "keras",
|
139 |
+
"class_name": "FloatDTypePolicy",
|
140 |
+
"config": {
|
141 |
+
"name": "float32"
|
142 |
+
},
|
143 |
+
"registered_name": null,
|
144 |
+
"shared_object_id": 140283585819024
|
145 |
+
},
|
146 |
+
"filters": 64,
|
147 |
+
"kernel_size": [
|
148 |
+
3,
|
149 |
+
3
|
150 |
+
],
|
151 |
+
"strides": [
|
152 |
+
1,
|
153 |
+
1
|
154 |
+
],
|
155 |
+
"padding": "valid",
|
156 |
+
"data_format": "channels_last",
|
157 |
+
"dilation_rate": [
|
158 |
+
1,
|
159 |
+
1
|
160 |
+
],
|
161 |
+
"groups": 1,
|
162 |
+
"activation": "relu",
|
163 |
+
"use_bias": true,
|
164 |
+
"kernel_initializer": {
|
165 |
+
"module": "keras.initializers",
|
166 |
+
"class_name": "GlorotUniform",
|
167 |
+
"config": {
|
168 |
+
"seed": null
|
169 |
+
},
|
170 |
+
"registered_name": null
|
171 |
+
},
|
172 |
+
"bias_initializer": {
|
173 |
+
"module": "keras.initializers",
|
174 |
+
"class_name": "Zeros",
|
175 |
+
"config": {},
|
176 |
+
"registered_name": null
|
177 |
+
},
|
178 |
+
"kernel_regularizer": null,
|
179 |
+
"bias_regularizer": null,
|
180 |
+
"activity_regularizer": null,
|
181 |
+
"kernel_constraint": null,
|
182 |
+
"bias_constraint": null
|
183 |
+
},
|
184 |
+
"registered_name": null,
|
185 |
+
"build_config": {
|
186 |
+
"input_shape": [
|
187 |
+
null,
|
188 |
+
13,
|
189 |
+
13,
|
190 |
+
32
|
191 |
+
]
|
192 |
+
}
|
193 |
+
},
|
194 |
+
{
|
195 |
+
"module": "keras.layers",
|
196 |
+
"class_name": "MaxPooling2D",
|
197 |
+
"config": {
|
198 |
+
"name": "max_pooling2d_1",
|
199 |
+
"trainable": true,
|
200 |
+
"dtype": {
|
201 |
+
"module": "keras",
|
202 |
+
"class_name": "FloatDTypePolicy",
|
203 |
+
"config": {
|
204 |
+
"name": "float32"
|
205 |
+
},
|
206 |
+
"registered_name": null,
|
207 |
+
"shared_object_id": 140283585819024
|
208 |
+
},
|
209 |
+
"pool_size": [
|
210 |
+
2,
|
211 |
+
2
|
212 |
+
],
|
213 |
+
"padding": "valid",
|
214 |
+
"strides": [
|
215 |
+
2,
|
216 |
+
2
|
217 |
+
],
|
218 |
+
"data_format": "channels_last"
|
219 |
+
},
|
220 |
+
"registered_name": null,
|
221 |
+
"build_config": {
|
222 |
+
"input_shape": [
|
223 |
+
null,
|
224 |
+
11,
|
225 |
+
11,
|
226 |
+
64
|
227 |
+
]
|
228 |
+
}
|
229 |
+
},
|
230 |
+
{
|
231 |
+
"module": "keras.layers",
|
232 |
+
"class_name": "Flatten",
|
233 |
+
"config": {
|
234 |
+
"name": "flatten",
|
235 |
+
"trainable": true,
|
236 |
+
"dtype": {
|
237 |
+
"module": "keras",
|
238 |
+
"class_name": "FloatDTypePolicy",
|
239 |
+
"config": {
|
240 |
+
"name": "float32"
|
241 |
+
},
|
242 |
+
"registered_name": null,
|
243 |
+
"shared_object_id": 140283585819024
|
244 |
+
},
|
245 |
+
"data_format": "channels_last"
|
246 |
+
},
|
247 |
+
"registered_name": null,
|
248 |
+
"build_config": {
|
249 |
+
"input_shape": [
|
250 |
+
null,
|
251 |
+
5,
|
252 |
+
5,
|
253 |
+
64
|
254 |
+
]
|
255 |
+
}
|
256 |
+
},
|
257 |
+
{
|
258 |
+
"module": "keras.layers",
|
259 |
+
"class_name": "Dropout",
|
260 |
+
"config": {
|
261 |
+
"name": "dropout",
|
262 |
+
"trainable": true,
|
263 |
+
"dtype": {
|
264 |
+
"module": "keras",
|
265 |
+
"class_name": "FloatDTypePolicy",
|
266 |
+
"config": {
|
267 |
+
"name": "float32"
|
268 |
+
},
|
269 |
+
"registered_name": null,
|
270 |
+
"shared_object_id": 140283585819024
|
271 |
+
},
|
272 |
+
"rate": 0.5,
|
273 |
+
"seed": null,
|
274 |
+
"noise_shape": null
|
275 |
+
},
|
276 |
+
"registered_name": null,
|
277 |
+
"build_config": {
|
278 |
+
"input_shape": [
|
279 |
+
null,
|
280 |
+
1600
|
281 |
+
]
|
282 |
+
}
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"module": "keras.layers",
|
286 |
+
"class_name": "Dense",
|
287 |
+
"config": {
|
288 |
+
"name": "dense",
|
289 |
+
"trainable": true,
|
290 |
+
"dtype": {
|
291 |
+
"module": "keras",
|
292 |
+
"class_name": "FloatDTypePolicy",
|
293 |
+
"config": {
|
294 |
+
"name": "float32"
|
295 |
+
},
|
296 |
+
"registered_name": null,
|
297 |
+
"shared_object_id": 140283585819024
|
298 |
+
},
|
299 |
+
"units": 10,
|
300 |
+
"activation": "softmax",
|
301 |
+
"use_bias": true,
|
302 |
+
"kernel_initializer": {
|
303 |
+
"module": "keras.initializers",
|
304 |
+
"class_name": "GlorotUniform",
|
305 |
+
"config": {
|
306 |
+
"seed": null
|
307 |
+
},
|
308 |
+
"registered_name": null
|
309 |
+
},
|
310 |
+
"bias_initializer": {
|
311 |
+
"module": "keras.initializers",
|
312 |
+
"class_name": "Zeros",
|
313 |
+
"config": {},
|
314 |
+
"registered_name": null
|
315 |
+
},
|
316 |
+
"kernel_regularizer": null,
|
317 |
+
"bias_regularizer": null,
|
318 |
+
"kernel_constraint": null,
|
319 |
+
"bias_constraint": null
|
320 |
+
},
|
321 |
+
"registered_name": null,
|
322 |
+
"build_config": {
|
323 |
+
"input_shape": [
|
324 |
+
null,
|
325 |
+
1600
|
326 |
+
]
|
327 |
+
}
|
328 |
+
}
|
329 |
+
],
|
330 |
+
"build_input_shape": [
|
331 |
+
null,
|
332 |
+
28,
|
333 |
+
28,
|
334 |
+
1
|
335 |
+
]
|
336 |
+
},
|
337 |
+
"registered_name": null,
|
338 |
+
"build_config": {
|
339 |
+
"input_shape": [
|
340 |
+
null,
|
341 |
+
28,
|
342 |
+
28,
|
343 |
+
1
|
344 |
+
]
|
345 |
+
}
|
346 |
+
}
|
metadata.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"keras_version": "3.3.3",
|
3 |
+
"date_saved": "2024-06-14@10:16:17"
|
4 |
+
}
|
model.weights.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4c76530ae31ad2180f2dad7bef896c0b647527041f93e0346281b5218e567efd
|
3 |
+
size 157504
|