| { | |
| "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." | |
| } | |