Upload model_config.json with huggingface_hub
Browse files- model_config.json +43 -0
model_config.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_name": "mobile_phone_usage_detector",
|
| 3 |
+
"version": "1.0.0",
|
| 4 |
+
"description": "A deep learning model to detect mobile phone usage in images",
|
| 5 |
+
"task": "binary_classification",
|
| 6 |
+
"classes": {
|
| 7 |
+
"negative": 0,
|
| 8 |
+
"positive": 1
|
| 9 |
+
},
|
| 10 |
+
"input_shape": [
|
| 11 |
+
224,
|
| 12 |
+
224,
|
| 13 |
+
3
|
| 14 |
+
],
|
| 15 |
+
"output_shape": [
|
| 16 |
+
1
|
| 17 |
+
],
|
| 18 |
+
"architecture": "MobileNetV2_with_custom_classifier",
|
| 19 |
+
"training_parameters": {
|
| 20 |
+
"batch_size": 32,
|
| 21 |
+
"image_size": [
|
| 22 |
+
224,
|
| 23 |
+
224
|
| 24 |
+
],
|
| 25 |
+
"learning_rate": 0.001,
|
| 26 |
+
"optimizer": "Adam",
|
| 27 |
+
"loss_function": "binary_crossentropy"
|
| 28 |
+
},
|
| 29 |
+
"performance_metrics": {
|
| 30 |
+
"final_accuracy": 0.8418079018592834,
|
| 31 |
+
"final_loss": 0.3918597102165222,
|
| 32 |
+
"final_precision": 0.8508771657943726,
|
| 33 |
+
"final_recall": 0.8981481194496155
|
| 34 |
+
},
|
| 35 |
+
"dataset_info": {
|
| 36 |
+
"total_training_samples": 711,
|
| 37 |
+
"total_validation_samples": 177,
|
| 38 |
+
"dataset_source": "Kaggle - Mobile Phone Usage Dataset IITR"
|
| 39 |
+
},
|
| 40 |
+
"created_date": "2025-10-06T12:31:55.915981",
|
| 41 |
+
"author": "Your Name",
|
| 42 |
+
"license": "MIT"
|
| 43 |
+
}
|