AdamCodd commited on
Commit
5c48ad2
·
verified ·
1 Parent(s): d501dee

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +47 -0
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": {
3
+ "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
+ "training": {
20
+ "epochs": 225,
21
+ "batch_size": 16,
22
+ "learning_rate": 0.001,
23
+ "optimizer": "Adam",
24
+ "momentum": 0.9,
25
+ "weight_decay": 0.0005,
26
+ "scheduler": {
27
+ "type": "StepLR",
28
+ "step_size": 30,
29
+ "gamma": 0.1
30
+ }
31
+ },
32
+ "augmentation": {
33
+ "horizontal_flip": true,
34
+ "vertical_flip": false,
35
+ "rotation": 10,
36
+ "scale": [0.8, 1.2],
37
+ "shear": 2
38
+ },
39
+ "evaluation": {
40
+ "interval": 1,
41
+ "metrics": ["mAP", "precision", "recall"]
42
+ },
43
+ "save": {
44
+ "checkpoint_dir": "checkpoints/",
45
+ "best_model": "model.pth"
46
+ }
47
+ }