Update config.json
Browse files- config.json +53 -47
config.json
CHANGED
|
@@ -1,47 +1,53 @@
|
|
| 1 |
-
{
|
| 2 |
-
"model": {
|
| 3 |
-
"
|
| 4 |
-
"pretrained": true,
|
| 5 |
-
"num_classes": 1,
|
| 6 |
-
"input_size": 640
|
| 7 |
-
},
|
| 8 |
-
"dataset": {
|
| 9 |
-
"name": "WIDER FACE",
|
| 10 |
-
"train": {
|
| 11 |
-
"images": "WIDER_train/images",
|
| 12 |
-
"annotations": "WIDER_train/annotations"
|
| 13 |
-
},
|
| 14 |
-
"val": {
|
| 15 |
-
"images": "WIDER_val/images",
|
| 16 |
-
"annotations": "WIDER_val/annotations"
|
| 17 |
-
}
|
| 18 |
-
},
|
| 19 |
-
"
|
| 20 |
-
"
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
"
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
"
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
"
|
| 41 |
-
"
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": {
|
| 3 |
+
"model_type": "YOLO11n",
|
| 4 |
+
"pretrained": true,
|
| 5 |
+
"num_classes": 1,
|
| 6 |
+
"input_size": 640
|
| 7 |
+
},
|
| 8 |
+
"dataset": {
|
| 9 |
+
"name": "WIDER FACE",
|
| 10 |
+
"train": {
|
| 11 |
+
"images": "WIDER_train/images",
|
| 12 |
+
"annotations": "WIDER_train/annotations"
|
| 13 |
+
},
|
| 14 |
+
"val": {
|
| 15 |
+
"images": "WIDER_val/images",
|
| 16 |
+
"annotations": "WIDER_val/annotations"
|
| 17 |
+
}
|
| 18 |
+
},
|
| 19 |
+
"id2label": {
|
| 20 |
+
"0": "face"
|
| 21 |
+
},
|
| 22 |
+
"label2id": {
|
| 23 |
+
"face": "0"
|
| 24 |
+
},
|
| 25 |
+
"training": {
|
| 26 |
+
"epochs": 225,
|
| 27 |
+
"batch_size": 16,
|
| 28 |
+
"learning_rate": 0.001,
|
| 29 |
+
"optimizer": "Adam",
|
| 30 |
+
"momentum": 0.9,
|
| 31 |
+
"weight_decay": 0.0005,
|
| 32 |
+
"scheduler": {
|
| 33 |
+
"type": "StepLR",
|
| 34 |
+
"step_size": 30,
|
| 35 |
+
"gamma": 0.1
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"augmentation": {
|
| 39 |
+
"horizontal_flip": true,
|
| 40 |
+
"vertical_flip": false,
|
| 41 |
+
"rotation": 10,
|
| 42 |
+
"scale": [0.8, 1.2],
|
| 43 |
+
"shear": 2
|
| 44 |
+
},
|
| 45 |
+
"evaluation": {
|
| 46 |
+
"interval": 1,
|
| 47 |
+
"metrics": ["mAP", "precision", "recall"]
|
| 48 |
+
},
|
| 49 |
+
"save": {
|
| 50 |
+
"checkpoint_dir": "checkpoints/",
|
| 51 |
+
"best_model": "model.pth"
|
| 52 |
+
}
|
| 53 |
+
}
|