nowimsoham commited on
Commit
8cfd80d
·
verified ·
1 Parent(s): 60b8f13

Model weights uploaded

Browse files
emotiondetector.json ADDED
@@ -0,0 +1,429 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "module": "keras",
3
+ "class_name": "Sequential",
4
+ "config": {
5
+ "name": "sequential",
6
+ "trainable": true,
7
+ "dtype": "float32",
8
+ "layers": [
9
+ {
10
+ "module": "keras.layers",
11
+ "class_name": "InputLayer",
12
+ "config": {
13
+ "batch_shape": [null, 48, 48, 1],
14
+ "dtype": "float32",
15
+ "sparse": false,
16
+ "name": "input_layer"
17
+ },
18
+ "registered_name": null
19
+ },
20
+ {
21
+ "module": "keras.layers",
22
+ "class_name": "Conv2D",
23
+ "config": {
24
+ "name": "conv2d",
25
+ "trainable": true,
26
+ "dtype": "float32",
27
+ "filters": 128,
28
+ "kernel_size": [3, 3],
29
+ "strides": [1, 1],
30
+ "padding": "valid",
31
+ "data_format": "channels_last",
32
+ "dilation_rate": [1, 1],
33
+ "groups": 1,
34
+ "activation": "relu",
35
+ "use_bias": true,
36
+ "kernel_initializer": {
37
+ "module": "keras.initializers",
38
+ "class_name": "GlorotUniform",
39
+ "config": { "seed": null },
40
+ "registered_name": null
41
+ },
42
+ "bias_initializer": {
43
+ "module": "keras.initializers",
44
+ "class_name": "Zeros",
45
+ "config": {},
46
+ "registered_name": null
47
+ },
48
+ "kernel_regularizer": null,
49
+ "bias_regularizer": null,
50
+ "activity_regularizer": null,
51
+ "kernel_constraint": null,
52
+ "bias_constraint": null
53
+ },
54
+ "registered_name": null,
55
+ "build_config": { "input_shape": [null, 48, 48, 1] }
56
+ },
57
+ {
58
+ "module": "keras.layers",
59
+ "class_name": "MaxPooling2D",
60
+ "config": {
61
+ "name": "max_pooling2d",
62
+ "trainable": true,
63
+ "dtype": "float32",
64
+ "pool_size": [2, 2],
65
+ "padding": "valid",
66
+ "strides": [2, 2],
67
+ "data_format": "channels_last"
68
+ },
69
+ "registered_name": null,
70
+ "build_config": { "input_shape": [null, 46, 46, 128] }
71
+ },
72
+ {
73
+ "module": "keras.layers",
74
+ "class_name": "Dropout",
75
+ "config": {
76
+ "name": "dropout",
77
+ "trainable": true,
78
+ "dtype": "float32",
79
+ "rate": 0.4,
80
+ "seed": null,
81
+ "noise_shape": null
82
+ },
83
+ "registered_name": null,
84
+ "build_config": { "input_shape": [null, 23, 23, 128] }
85
+ },
86
+ {
87
+ "module": "keras.layers",
88
+ "class_name": "Conv2D",
89
+ "config": {
90
+ "name": "conv2d_1",
91
+ "trainable": true,
92
+ "dtype": "float32",
93
+ "filters": 256,
94
+ "kernel_size": [3, 3],
95
+ "strides": [1, 1],
96
+ "padding": "valid",
97
+ "data_format": "channels_last",
98
+ "dilation_rate": [1, 1],
99
+ "groups": 1,
100
+ "activation": "relu",
101
+ "use_bias": true,
102
+ "kernel_initializer": {
103
+ "module": "keras.initializers",
104
+ "class_name": "GlorotUniform",
105
+ "config": { "seed": null },
106
+ "registered_name": null
107
+ },
108
+ "bias_initializer": {
109
+ "module": "keras.initializers",
110
+ "class_name": "Zeros",
111
+ "config": {},
112
+ "registered_name": null
113
+ },
114
+ "kernel_regularizer": null,
115
+ "bias_regularizer": null,
116
+ "activity_regularizer": null,
117
+ "kernel_constraint": null,
118
+ "bias_constraint": null
119
+ },
120
+ "registered_name": null,
121
+ "build_config": { "input_shape": [null, 23, 23, 128] }
122
+ },
123
+ {
124
+ "module": "keras.layers",
125
+ "class_name": "MaxPooling2D",
126
+ "config": {
127
+ "name": "max_pooling2d_1",
128
+ "trainable": true,
129
+ "dtype": "float32",
130
+ "pool_size": [2, 2],
131
+ "padding": "valid",
132
+ "strides": [2, 2],
133
+ "data_format": "channels_last"
134
+ },
135
+ "registered_name": null,
136
+ "build_config": { "input_shape": [null, 21, 21, 256] }
137
+ },
138
+ {
139
+ "module": "keras.layers",
140
+ "class_name": "Dropout",
141
+ "config": {
142
+ "name": "dropout_1",
143
+ "trainable": true,
144
+ "dtype": "float32",
145
+ "rate": 0.4,
146
+ "seed": null,
147
+ "noise_shape": null
148
+ },
149
+ "registered_name": null,
150
+ "build_config": { "input_shape": [null, 10, 10, 256] }
151
+ },
152
+ {
153
+ "module": "keras.layers",
154
+ "class_name": "Conv2D",
155
+ "config": {
156
+ "name": "conv2d_2",
157
+ "trainable": true,
158
+ "dtype": "float32",
159
+ "filters": 512,
160
+ "kernel_size": [3, 3],
161
+ "strides": [1, 1],
162
+ "padding": "valid",
163
+ "data_format": "channels_last",
164
+ "dilation_rate": [1, 1],
165
+ "groups": 1,
166
+ "activation": "relu",
167
+ "use_bias": true,
168
+ "kernel_initializer": {
169
+ "module": "keras.initializers",
170
+ "class_name": "GlorotUniform",
171
+ "config": { "seed": null },
172
+ "registered_name": null
173
+ },
174
+ "bias_initializer": {
175
+ "module": "keras.initializers",
176
+ "class_name": "Zeros",
177
+ "config": {},
178
+ "registered_name": null
179
+ },
180
+ "kernel_regularizer": null,
181
+ "bias_regularizer": null,
182
+ "activity_regularizer": null,
183
+ "kernel_constraint": null,
184
+ "bias_constraint": null
185
+ },
186
+ "registered_name": null,
187
+ "build_config": { "input_shape": [null, 10, 10, 256] }
188
+ },
189
+ {
190
+ "module": "keras.layers",
191
+ "class_name": "MaxPooling2D",
192
+ "config": {
193
+ "name": "max_pooling2d_2",
194
+ "trainable": true,
195
+ "dtype": "float32",
196
+ "pool_size": [2, 2],
197
+ "padding": "valid",
198
+ "strides": [2, 2],
199
+ "data_format": "channels_last"
200
+ },
201
+ "registered_name": null,
202
+ "build_config": { "input_shape": [null, 8, 8, 512] }
203
+ },
204
+ {
205
+ "module": "keras.layers",
206
+ "class_name": "Dropout",
207
+ "config": {
208
+ "name": "dropout_2",
209
+ "trainable": true,
210
+ "dtype": "float32",
211
+ "rate": 0.4,
212
+ "seed": null,
213
+ "noise_shape": null
214
+ },
215
+ "registered_name": null,
216
+ "build_config": { "input_shape": [null, 4, 4, 512] }
217
+ },
218
+ {
219
+ "module": "keras.layers",
220
+ "class_name": "Conv2D",
221
+ "config": {
222
+ "name": "conv2d_3",
223
+ "trainable": true,
224
+ "dtype": "float32",
225
+ "filters": 512,
226
+ "kernel_size": [3, 3],
227
+ "strides": [1, 1],
228
+ "padding": "valid",
229
+ "data_format": "channels_last",
230
+ "dilation_rate": [1, 1],
231
+ "groups": 1,
232
+ "activation": "relu",
233
+ "use_bias": true,
234
+ "kernel_initializer": {
235
+ "module": "keras.initializers",
236
+ "class_name": "GlorotUniform",
237
+ "config": { "seed": null },
238
+ "registered_name": null
239
+ },
240
+ "bias_initializer": {
241
+ "module": "keras.initializers",
242
+ "class_name": "Zeros",
243
+ "config": {},
244
+ "registered_name": null
245
+ },
246
+ "kernel_regularizer": null,
247
+ "bias_regularizer": null,
248
+ "activity_regularizer": null,
249
+ "kernel_constraint": null,
250
+ "bias_constraint": null
251
+ },
252
+ "registered_name": null,
253
+ "build_config": { "input_shape": [null, 4, 4, 512] }
254
+ },
255
+ {
256
+ "module": "keras.layers",
257
+ "class_name": "MaxPooling2D",
258
+ "config": {
259
+ "name": "max_pooling2d_3",
260
+ "trainable": true,
261
+ "dtype": "float32",
262
+ "pool_size": [2, 2],
263
+ "padding": "valid",
264
+ "strides": [2, 2],
265
+ "data_format": "channels_last"
266
+ },
267
+ "registered_name": null,
268
+ "build_config": { "input_shape": [null, 2, 2, 512] }
269
+ },
270
+ {
271
+ "module": "keras.layers",
272
+ "class_name": "Dropout",
273
+ "config": {
274
+ "name": "dropout_3",
275
+ "trainable": true,
276
+ "dtype": "float32",
277
+ "rate": 0.4,
278
+ "seed": null,
279
+ "noise_shape": null
280
+ },
281
+ "registered_name": null,
282
+ "build_config": { "input_shape": [null, 1, 1, 512] }
283
+ },
284
+ {
285
+ "module": "keras.layers",
286
+ "class_name": "Flatten",
287
+ "config": {
288
+ "name": "flatten",
289
+ "trainable": true,
290
+ "dtype": "float32",
291
+ "data_format": "channels_last"
292
+ },
293
+ "registered_name": null,
294
+ "build_config": { "input_shape": [null, 1, 1, 512] }
295
+ },
296
+ {
297
+ "module": "keras.layers",
298
+ "class_name": "Dense",
299
+ "config": {
300
+ "name": "dense",
301
+ "trainable": true,
302
+ "dtype": "float32",
303
+ "units": 512,
304
+ "activation": "relu",
305
+ "use_bias": true,
306
+ "kernel_initializer": {
307
+ "module": "keras.initializers",
308
+ "class_name": "GlorotUniform",
309
+ "config": { "seed": null },
310
+ "registered_name": null
311
+ },
312
+ "bias_initializer": {
313
+ "module": "keras.initializers",
314
+ "class_name": "Zeros",
315
+ "config": {},
316
+ "registered_name": null
317
+ },
318
+ "kernel_regularizer": null,
319
+ "bias_regularizer": null,
320
+ "kernel_constraint": null,
321
+ "bias_constraint": null
322
+ },
323
+ "registered_name": null,
324
+ "build_config": { "input_shape": [null, 512] }
325
+ },
326
+ {
327
+ "module": "keras.layers",
328
+ "class_name": "Dropout",
329
+ "config": {
330
+ "name": "dropout_4",
331
+ "trainable": true,
332
+ "dtype": "float32",
333
+ "rate": 0.4,
334
+ "seed": null,
335
+ "noise_shape": null
336
+ },
337
+ "registered_name": null,
338
+ "build_config": { "input_shape": [null, 512] }
339
+ },
340
+ {
341
+ "module": "keras.layers",
342
+ "class_name": "Dense",
343
+ "config": {
344
+ "name": "dense_1",
345
+ "trainable": true,
346
+ "dtype": "float32",
347
+ "units": 256,
348
+ "activation": "relu",
349
+ "use_bias": true,
350
+ "kernel_initializer": {
351
+ "module": "keras.initializers",
352
+ "class_name": "GlorotUniform",
353
+ "config": { "seed": null },
354
+ "registered_name": null
355
+ },
356
+ "bias_initializer": {
357
+ "module": "keras.initializers",
358
+ "class_name": "Zeros",
359
+ "config": {},
360
+ "registered_name": null
361
+ },
362
+ "kernel_regularizer": null,
363
+ "bias_regularizer": null,
364
+ "kernel_constraint": null,
365
+ "bias_constraint": null
366
+ },
367
+ "registered_name": null,
368
+ "build_config": { "input_shape": [null, 512] }
369
+ },
370
+ {
371
+ "module": "keras.layers",
372
+ "class_name": "Dropout",
373
+ "config": {
374
+ "name": "dropout_5",
375
+ "trainable": true,
376
+ "dtype": "float32",
377
+ "rate": 0.3,
378
+ "seed": null,
379
+ "noise_shape": null
380
+ },
381
+ "registered_name": null,
382
+ "build_config": { "input_shape": [null, 256] }
383
+ },
384
+ {
385
+ "module": "keras.layers",
386
+ "class_name": "Dense",
387
+ "config": {
388
+ "name": "dense_2",
389
+ "trainable": true,
390
+ "dtype": "float32",
391
+ "units": 7,
392
+ "activation": "softmax",
393
+ "use_bias": true,
394
+ "kernel_initializer": {
395
+ "module": "keras.initializers",
396
+ "class_name": "GlorotUniform",
397
+ "config": { "seed": null },
398
+ "registered_name": null
399
+ },
400
+ "bias_initializer": {
401
+ "module": "keras.initializers",
402
+ "class_name": "Zeros",
403
+ "config": {},
404
+ "registered_name": null
405
+ },
406
+ "kernel_regularizer": null,
407
+ "bias_regularizer": null,
408
+ "kernel_constraint": null,
409
+ "bias_constraint": null
410
+ },
411
+ "registered_name": null,
412
+ "build_config": { "input_shape": [null, 256] }
413
+ }
414
+ ],
415
+ "build_input_shape": [null, 48, 48, 1]
416
+ },
417
+ "registered_name": null,
418
+ "build_config": { "input_shape": [null, 48, 48, 1] },
419
+ "compile_config": {
420
+ "optimizer": "adam",
421
+ "loss": "categorical_crossentropy",
422
+ "loss_weights": null,
423
+ "metrics": ["accuracy"],
424
+ "weighted_metrics": null,
425
+ "run_eagerly": false,
426
+ "steps_per_execution": 1,
427
+ "jit_compile": false
428
+ }
429
+ }
emotiondetectorweights.weights.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07fc26442d274fdd43f5bacdd1931941113c706ac890d50a45fddd510939df92
3
+ size 50841136