Upload config.json
Browse files- config.json +106 -349
config.json
CHANGED
@@ -1,350 +1,107 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
"strides": [
|
109 |
-
1,
|
110 |
-
1
|
111 |
-
],
|
112 |
-
"padding": "same",
|
113 |
-
"data_format": "channels_last",
|
114 |
-
"dilation_rate": [
|
115 |
-
1,
|
116 |
-
1
|
117 |
-
],
|
118 |
-
"groups": 1,
|
119 |
-
"activation": "relu",
|
120 |
-
"use_bias": true,
|
121 |
-
"kernel_initializer": {
|
122 |
-
"class_name": "GlorotUniform",
|
123 |
-
"config": {
|
124 |
-
"seed": null
|
125 |
-
}
|
126 |
-
},
|
127 |
-
"bias_initializer": {
|
128 |
-
"class_name": "Zeros",
|
129 |
-
"config": {}
|
130 |
-
},
|
131 |
-
"kernel_regularizer": null,
|
132 |
-
"bias_regularizer": null,
|
133 |
-
"activity_regularizer": null,
|
134 |
-
"kernel_constraint": null,
|
135 |
-
"bias_constraint": null
|
136 |
-
}
|
137 |
-
},
|
138 |
-
{
|
139 |
-
"class_name": "MaxPooling2D",
|
140 |
-
"config": {
|
141 |
-
"name": "max_pooling2d_3",
|
142 |
-
"trainable": true,
|
143 |
-
"dtype": "float32",
|
144 |
-
"pool_size": [
|
145 |
-
2,
|
146 |
-
2
|
147 |
-
],
|
148 |
-
"padding": "valid",
|
149 |
-
"strides": [
|
150 |
-
2,
|
151 |
-
2
|
152 |
-
],
|
153 |
-
"data_format": "channels_last"
|
154 |
-
}
|
155 |
-
},
|
156 |
-
{
|
157 |
-
"class_name": "Conv2D",
|
158 |
-
"config": {
|
159 |
-
"name": "conv2d_4",
|
160 |
-
"trainable": true,
|
161 |
-
"dtype": "float32",
|
162 |
-
"filters": 32,
|
163 |
-
"kernel_size": [
|
164 |
-
3,
|
165 |
-
3
|
166 |
-
],
|
167 |
-
"strides": [
|
168 |
-
1,
|
169 |
-
1
|
170 |
-
],
|
171 |
-
"padding": "same",
|
172 |
-
"data_format": "channels_last",
|
173 |
-
"dilation_rate": [
|
174 |
-
1,
|
175 |
-
1
|
176 |
-
],
|
177 |
-
"groups": 1,
|
178 |
-
"activation": "relu",
|
179 |
-
"use_bias": true,
|
180 |
-
"kernel_initializer": {
|
181 |
-
"class_name": "GlorotUniform",
|
182 |
-
"config": {
|
183 |
-
"seed": null
|
184 |
-
}
|
185 |
-
},
|
186 |
-
"bias_initializer": {
|
187 |
-
"class_name": "Zeros",
|
188 |
-
"config": {}
|
189 |
-
},
|
190 |
-
"kernel_regularizer": null,
|
191 |
-
"bias_regularizer": null,
|
192 |
-
"activity_regularizer": null,
|
193 |
-
"kernel_constraint": null,
|
194 |
-
"bias_constraint": null
|
195 |
-
}
|
196 |
-
},
|
197 |
-
{
|
198 |
-
"class_name": "MaxPooling2D",
|
199 |
-
"config": {
|
200 |
-
"name": "max_pooling2d_4",
|
201 |
-
"trainable": true,
|
202 |
-
"dtype": "float32",
|
203 |
-
"pool_size": [
|
204 |
-
2,
|
205 |
-
2
|
206 |
-
],
|
207 |
-
"padding": "valid",
|
208 |
-
"strides": [
|
209 |
-
2,
|
210 |
-
2
|
211 |
-
],
|
212 |
-
"data_format": "channels_last"
|
213 |
-
}
|
214 |
-
},
|
215 |
-
{
|
216 |
-
"class_name": "Conv2D",
|
217 |
-
"config": {
|
218 |
-
"name": "conv2d_5",
|
219 |
-
"trainable": true,
|
220 |
-
"dtype": "float32",
|
221 |
-
"filters": 64,
|
222 |
-
"kernel_size": [
|
223 |
-
3,
|
224 |
-
3
|
225 |
-
],
|
226 |
-
"strides": [
|
227 |
-
1,
|
228 |
-
1
|
229 |
-
],
|
230 |
-
"padding": "same",
|
231 |
-
"data_format": "channels_last",
|
232 |
-
"dilation_rate": [
|
233 |
-
1,
|
234 |
-
1
|
235 |
-
],
|
236 |
-
"groups": 1,
|
237 |
-
"activation": "relu",
|
238 |
-
"use_bias": true,
|
239 |
-
"kernel_initializer": {
|
240 |
-
"class_name": "GlorotUniform",
|
241 |
-
"config": {
|
242 |
-
"seed": null
|
243 |
-
}
|
244 |
-
},
|
245 |
-
"bias_initializer": {
|
246 |
-
"class_name": "Zeros",
|
247 |
-
"config": {}
|
248 |
-
},
|
249 |
-
"kernel_regularizer": null,
|
250 |
-
"bias_regularizer": null,
|
251 |
-
"activity_regularizer": null,
|
252 |
-
"kernel_constraint": null,
|
253 |
-
"bias_constraint": null
|
254 |
-
}
|
255 |
-
},
|
256 |
-
{
|
257 |
-
"class_name": "MaxPooling2D",
|
258 |
-
"config": {
|
259 |
-
"name": "max_pooling2d_5",
|
260 |
-
"trainable": true,
|
261 |
-
"dtype": "float32",
|
262 |
-
"pool_size": [
|
263 |
-
2,
|
264 |
-
2
|
265 |
-
],
|
266 |
-
"padding": "valid",
|
267 |
-
"strides": [
|
268 |
-
2,
|
269 |
-
2
|
270 |
-
],
|
271 |
-
"data_format": "channels_last"
|
272 |
-
}
|
273 |
-
},
|
274 |
-
{
|
275 |
-
"class_name": "Dropout",
|
276 |
-
"config": {
|
277 |
-
"name": "dropout_1",
|
278 |
-
"trainable": true,
|
279 |
-
"dtype": "float32",
|
280 |
-
"rate": 0.2,
|
281 |
-
"noise_shape": null,
|
282 |
-
"seed": null
|
283 |
-
}
|
284 |
-
},
|
285 |
-
{
|
286 |
-
"class_name": "Flatten",
|
287 |
-
"config": {
|
288 |
-
"name": "flatten_1",
|
289 |
-
"trainable": true,
|
290 |
-
"dtype": "float32",
|
291 |
-
"data_format": "channels_last"
|
292 |
-
}
|
293 |
-
},
|
294 |
-
{
|
295 |
-
"class_name": "Dense",
|
296 |
-
"config": {
|
297 |
-
"name": "dense_1",
|
298 |
-
"trainable": true,
|
299 |
-
"dtype": "float32",
|
300 |
-
"units": 128,
|
301 |
-
"activation": "relu",
|
302 |
-
"use_bias": true,
|
303 |
-
"kernel_initializer": {
|
304 |
-
"class_name": "GlorotUniform",
|
305 |
-
"config": {
|
306 |
-
"seed": null
|
307 |
-
}
|
308 |
-
},
|
309 |
-
"bias_initializer": {
|
310 |
-
"class_name": "Zeros",
|
311 |
-
"config": {}
|
312 |
-
},
|
313 |
-
"kernel_regularizer": null,
|
314 |
-
"bias_regularizer": null,
|
315 |
-
"activity_regularizer": null,
|
316 |
-
"kernel_constraint": null,
|
317 |
-
"bias_constraint": null
|
318 |
-
}
|
319 |
-
},
|
320 |
-
{
|
321 |
-
"class_name": "Dense",
|
322 |
-
"config": {
|
323 |
-
"name": "outputs",
|
324 |
-
"trainable": true,
|
325 |
-
"dtype": "float32",
|
326 |
-
"units": 4,
|
327 |
-
"activation": "linear",
|
328 |
-
"use_bias": true,
|
329 |
-
"kernel_initializer": {
|
330 |
-
"class_name": "GlorotUniform",
|
331 |
-
"config": {
|
332 |
-
"seed": null
|
333 |
-
}
|
334 |
-
},
|
335 |
-
"bias_initializer": {
|
336 |
-
"class_name": "Zeros",
|
337 |
-
"config": {}
|
338 |
-
},
|
339 |
-
"kernel_regularizer": null,
|
340 |
-
"bias_regularizer": null,
|
341 |
-
"activity_regularizer": null,
|
342 |
-
"kernel_constraint": null,
|
343 |
-
"bias_constraint": null
|
344 |
-
}
|
345 |
-
}
|
346 |
-
]
|
347 |
-
},
|
348 |
-
"keras_version": "2.12.0",
|
349 |
-
"backend": "tensorflow"
|
350 |
-
}
|
|
|
1 |
{
|
2 |
+
"architecture": "KerasSequential",
|
3 |
+
"model_config": {
|
4 |
+
"layers": [
|
5 |
+
{
|
6 |
+
"class_name": "ImageDataGenerator",
|
7 |
+
"config": {
|
8 |
+
"rotation_range": 20,
|
9 |
+
"width_shift_range": 0.1,
|
10 |
+
"height_shift_range": 0.1,
|
11 |
+
"shear_range": 0.2,
|
12 |
+
"zoom_range": 0.2,
|
13 |
+
"horizontal_flip": true,
|
14 |
+
"fill_mode": "nearest"
|
15 |
+
}
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"class_name": "Rescaling",
|
19 |
+
"config": {
|
20 |
+
"scale": 0.00392156862745098
|
21 |
+
}
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"class_name": "Conv2D",
|
25 |
+
"config": {
|
26 |
+
"filters": 16,
|
27 |
+
"kernel_size": [3, 3],
|
28 |
+
"padding": "same",
|
29 |
+
"activation": "relu"
|
30 |
+
}
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"class_name": "MaxPooling2D",
|
34 |
+
"config": {
|
35 |
+
"pool_size": [2, 2],
|
36 |
+
"strides": null,
|
37 |
+
"padding": "valid",
|
38 |
+
"data_format": null
|
39 |
+
}
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"class_name": "Conv2D",
|
43 |
+
"config": {
|
44 |
+
"filters": 32,
|
45 |
+
"kernel_size": [3, 3],
|
46 |
+
"padding": "same",
|
47 |
+
"activation": "relu"
|
48 |
+
}
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"class_name": "MaxPooling2D",
|
52 |
+
"config": {
|
53 |
+
"pool_size": [2, 2],
|
54 |
+
"strides": null,
|
55 |
+
"padding": "valid",
|
56 |
+
"data_format": null
|
57 |
+
}
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"class_name": "Conv2D",
|
61 |
+
"config": {
|
62 |
+
"filters": 64,
|
63 |
+
"kernel_size": [3, 3],
|
64 |
+
"padding": "same",
|
65 |
+
"activation": "relu"
|
66 |
+
}
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"class_name": "MaxPooling2D",
|
70 |
+
"config": {
|
71 |
+
"pool_size": [2, 2],
|
72 |
+
"strides": null,
|
73 |
+
"padding": "valid",
|
74 |
+
"data_format": null
|
75 |
+
}
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"class_name": "Dropout",
|
79 |
+
"config": {
|
80 |
+
"rate": 0.2,
|
81 |
+
"noise_shape": null,
|
82 |
+
"seed": null
|
83 |
+
}
|
84 |
+
},
|
85 |
+
{
|
86 |
+
"class_name": "Flatten",
|
87 |
+
"config": {}
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"class_name": "Dense",
|
91 |
+
"config": {
|
92 |
+
"units": 128,
|
93 |
+
"activation": "relu"
|
94 |
+
}
|
95 |
+
},
|
96 |
+
{
|
97 |
+
"class_name": "Dense",
|
98 |
+
"config": {
|
99 |
+
"units": 4,
|
100 |
+
"activation": "softmax"
|
101 |
+
}
|
102 |
+
}
|
103 |
+
],
|
104 |
+
"label_names": ["adidas", "newbalance", "nike", "puma"]
|
105 |
+
}
|
106 |
+
}
|
107 |
+
|
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