File size: 1,158 Bytes
ed8a319
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
    "backbone": "MobileNetV2",
    "input_shape": [
        224,
        224,
        3
    ],
    "num_classes": 2,
    "anchor_boxes": [
        [
            0.1,
            0.1,
            0.2,
            0.2
        ],
        [
            0.3,
            0.3,
            0.4,
            0.4
        ],
        [
            0.5,
            0.5,
            0.6,
            0.6
        ],
        [
            0.7,
            0.7,
            0.8,
            0.8
        ],
        [
            0.9,
            0.9,
            1.0,
            1.0
        ]
    ],
    "detection_head": {
        "num_filters": 256,
        "dropout_rate": 0.3
    },
    "optimizer": {
        "name": "Adam",
        "learning_rate": 0.001,
        "weight_decay": 0.0001
    },
    "loss": {
        "classification_loss": "binary_crossentropy",
        "localization_loss": "smooth_l1",
        "loss_weights": {
            "classification": 1.0,
            "localization": 1.0
        }
    },
    "training": {
        "epochs": 50,
        "early_stopping_patience": 10,
        "reduce_lr_patience": 5,
        "reduce_lr_factor": 0.1
    }
}