Update config.json
Browse files- config.json +37 -6
config.json
CHANGED
@@ -1,8 +1,39 @@
|
|
1 |
{
|
2 |
-
"architectures": [
|
3 |
-
|
4 |
-
|
5 |
-
"
|
6 |
-
"
|
7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
}
|
|
|
1 |
{
|
2 |
+
"architectures": [
|
3 |
+
"ResNet50"
|
4 |
+
],
|
5 |
+
"model_type": "tf_resnet",
|
6 |
+
"layers": {
|
7 |
+
"base_model": {
|
8 |
+
"weights": "imagenet",
|
9 |
+
"include_top": false
|
10 |
+
},
|
11 |
+
"classifier": {
|
12 |
+
"dense_1": {
|
13 |
+
"units": 64,
|
14 |
+
"activation": "relu",
|
15 |
+
"kernel_regularizer": {
|
16 |
+
"l2": 0.001
|
17 |
+
}
|
18 |
+
},
|
19 |
+
"dropout_1": {
|
20 |
+
"rate": 0.4
|
21 |
+
},
|
22 |
+
"dense_2": {
|
23 |
+
"units": 1,
|
24 |
+
"activation": "sigmoid"
|
25 |
+
}
|
26 |
+
}
|
27 |
+
},
|
28 |
+
"loss": "binary_crossentropy",
|
29 |
+
"optimizer": {
|
30 |
+
"type": "Adam",
|
31 |
+
"learning_rate": 1e-5
|
32 |
+
},
|
33 |
+
"metrics": ["accuracy", "recall", "precision"],
|
34 |
+
"description": "A custom ResNet50-based model fine-tuned for tuberculosis detection (binary classification).",
|
35 |
+
"preprocessing": {
|
36 |
+
"input_shape": [224, 224, 3],
|
37 |
+
"rescale": [0, 255]
|
38 |
+
}
|
39 |
}
|