File size: 909 Bytes
c50696e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "model_name": "mask_detection_model",
  "framework": "Keras",
  "backend": "TensorFlow",
  "format": "HDF5",
  "model_file": "mask_detection_model.h5",
  "input_shape": [128, 128, 3],
  "image_data_format": "channels_last",
  "classes": {
    "0": "Mask",
    "1": "No Mask"
  },
  "num_classes": 2,
  "preprocessing": {
    "resize": [128, 128],
    "scaling": "rescale pixel values to range [0,1]",
    "dtype": "float32"
  },
  "prediction": {
    "activation": "softmax",
    "output_type": "probability_distribution",
    "decision_rule": "argmax"
  },
  "training_info": {
    "loss_function": "categorical_crossentropy",
    "optimizer": "Adam",
    "metrics": ["accuracy"]
  },
  "author": "Your Name",
  "created_date": "2025-09-26",
  "description": "A CNN-based mask detection model that classifies whether a person is wearing a mask or not from face images."
}