-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtf_cnn_config.json
More file actions
38 lines (38 loc) · 807 Bytes
/
tf_cnn_config.json
File metadata and controls
38 lines (38 loc) · 807 Bytes
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
{
"dataset": {
"path": "data/images",
"type": "image",
"image_size": [224, 224],
"color_mode": "rgb"
},
"model": {
"type": "tf_cnn",
"params": {
"conv_layers": [32, 64, 128],
"kernel_size": 3,
"pool_size": 2,
"dense_layers": [128],
"dropout": 0.3,
"batch_normalization": true,
"input_shape": [224, 224, 3],
"optimizer": "adam",
"learning_rate": 0.001,
"epochs": 30,
"batch_size": 32,
"data_augmentation": false
}
},
"training": {
"test_size": 0.2,
"random_state": 42,
"shuffle": true
},
"evaluation": {
"metrics": ["accuracy", "precision", "recall", "f1"]
},
"output": {
"model_dir": "mlcli/models",
"save_format": ["h5", "savedmodel"],
"log_dir": "runs"
}
}