Update config.json
Browse files- config.json +38 -3
config.json
CHANGED
|
@@ -1,4 +1,39 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
"
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
{
|
| 2 |
+
"model_name": "CustomUNet",
|
| 3 |
+
"description": "A custom U-Net model for semantic segmentation using TensorFlow/Keras.",
|
| 4 |
+
"input_shape": [512, 512, 3], // Input shape of the images
|
| 5 |
+
"num_classes": 11, // Number of output classes
|
| 6 |
+
"architecture": {
|
| 7 |
+
"encoder": {
|
| 8 |
+
"type": "custom",
|
| 9 |
+
"blocks": [
|
| 10 |
+
{"filters": 64},
|
| 11 |
+
{"filters": 128},
|
| 12 |
+
{"filters": 256},
|
| 13 |
+
{"filters": 512}
|
| 14 |
+
]
|
| 15 |
+
},
|
| 16 |
+
"bottleneck": {
|
| 17 |
+
"filters": 1024
|
| 18 |
+
},
|
| 19 |
+
"decoder": {
|
| 20 |
+
"type": "custom",
|
| 21 |
+
"blocks": [
|
| 22 |
+
{"filters": 512},
|
| 23 |
+
{"filters": 256},
|
| 24 |
+
{"filters": 128},
|
| 25 |
+
{"filters": 64}
|
| 26 |
+
]
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
"loss_function": "categorical_crossentropy",
|
| 30 |
+
"optimizer": {
|
| 31 |
+
"type": "Adam",
|
| 32 |
+
"learning_rate": 0.001
|
| 33 |
+
},
|
| 34 |
+
"training": {
|
| 35 |
+
"batch_size": 16,
|
| 36 |
+
"epochs": 50,
|
| 37 |
+
"validation_split": 0.2
|
| 38 |
+
}
|
| 39 |
+
}
|