File size: 2,277 Bytes
8c24916
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
    "model_type": "cnn",
    "architecture": {
        "type": "sequential",
        "layers": [
            {
                "type": "data_augmentation"
            },
            {
                "type": "conv2d",
                "filters": 32,
                "kernel_size": 3,
                "activation": "relu"
            },
            {
                "type": "batch_normalization"
            },
            {
                "type": "max_pooling2d",
                "pool_size": 2
            },
            {
                "type": "conv2d",
                "filters": 64,
                "kernel_size": 3,
                "activation": "relu"
            },
            {
                "type": "batch_normalization"
            },
            {
                "type": "max_pooling2d",
                "pool_size": 2
            },
            {
                "type": "flatten"
            },
            {
                "type": "dense",
                "units": 256,
                "activation": "relu"
            },
            {
                "type": "batch_normalization"
            },
            {
                "type": "dropout",
                "rate": 0.3
            },
            {
                "type": "dense",
                "units": 128,
                "activation": "relu"
            },
            {
                "type": "batch_normalization"
            },
            {
                "type": "dropout",
                "rate": 0.2
            },
            {
                "type": "dense",
                "units": 10,
                "activation": "softmax"
            }
        ]
    },
    "training_config": {
        "optimizer": {
            "type": "adam",
            "learning_rate": 0.001,
            "beta_1": 0.9,
            "beta_2": 0.999
        },
        "loss": "sparse_categorical_crossentropy",
        "metrics": [
            "accuracy"
        ],
        "epochs": 20,
        "batch_size": 32,
        "validation_split": 0.2
    },
    "preprocessing": {
        "input_normalization": "divide_by_255",
        "input_shape": [
            28,
            28,
            1
        ]
    }
}