Upload 2 files
Browse files- config.json +32 -0
- mask_detection_model.h5 +3 -0
config.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_name": "mask_detection_model",
|
| 3 |
+
"framework": "Keras",
|
| 4 |
+
"backend": "TensorFlow",
|
| 5 |
+
"format": "HDF5",
|
| 6 |
+
"model_file": "mask_detection_model.h5",
|
| 7 |
+
"input_shape": [128, 128, 3],
|
| 8 |
+
"image_data_format": "channels_last",
|
| 9 |
+
"classes": {
|
| 10 |
+
"0": "Mask",
|
| 11 |
+
"1": "No Mask"
|
| 12 |
+
},
|
| 13 |
+
"num_classes": 2,
|
| 14 |
+
"preprocessing": {
|
| 15 |
+
"resize": [128, 128],
|
| 16 |
+
"scaling": "rescale pixel values to range [0,1]",
|
| 17 |
+
"dtype": "float32"
|
| 18 |
+
},
|
| 19 |
+
"prediction": {
|
| 20 |
+
"activation": "softmax",
|
| 21 |
+
"output_type": "probability_distribution",
|
| 22 |
+
"decision_rule": "argmax"
|
| 23 |
+
},
|
| 24 |
+
"training_info": {
|
| 25 |
+
"loss_function": "categorical_crossentropy",
|
| 26 |
+
"optimizer": "Adam",
|
| 27 |
+
"metrics": ["accuracy"]
|
| 28 |
+
},
|
| 29 |
+
"author": "Your Name",
|
| 30 |
+
"created_date": "2025-09-26",
|
| 31 |
+
"description": "A CNN-based mask detection model that classifies whether a person is wearing a mask or not from face images."
|
| 32 |
+
}
|
mask_detection_model.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0bfb47c7803f5dbe0949d008ae77cf0f073e2ee9bdabcdd218947e3b514795c1
|
| 3 |
+
size 88855792
|