Update config.json
Browse files- config.json +32 -3
config.json
CHANGED
|
@@ -1,4 +1,33 @@
|
|
| 1 |
{
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
{
|
| 2 |
+
"model": "GAN",
|
| 3 |
+
"generator": {
|
| 4 |
+
"input_size": 100,
|
| 5 |
+
"layers": [
|
| 6 |
+
{"type": "ConvTranspose2d", "in_channels": 100, "out_channels": 512, "kernel_size": 4, "stride": 1, "padding": 0, "bias": false},
|
| 7 |
+
{"type": "BatchNorm2d", "num_features": 512},
|
| 8 |
+
{"type": "ReLU", "inplace": true},
|
| 9 |
+
|
| 10 |
+
{"type": "ConvTranspose2d", "in_channels": 512, "out_channels": 256, "kernel_size": 4, "stride": 2, "padding": 1, "bias": false},
|
| 11 |
+
{"type": "BatchNorm2d", "num_features": 256},
|
| 12 |
+
{"type": "ReLU", "inplace": true},
|
| 13 |
+
|
| 14 |
+
{"type": "ConvTranspose2d", "in_channels": 256, "out_channels": 128, "kernel_size": 4, "stride": 2, "padding": 1, "bias": false},
|
| 15 |
+
{"type": "BatchNorm2d", "num_features": 128},
|
| 16 |
+
{"type": "ReLU", "inplace": true},
|
| 17 |
+
|
| 18 |
+
{"type": "ConvTranspose2d", "in_channels": 128, "out_channels": 64, "kernel_size": 4, "stride": 2, "padding": 1, "bias": false},
|
| 19 |
+
{"type": "BatchNorm2d", "num_features": 64},
|
| 20 |
+
{"type": "ReLU", "inplace": true},
|
| 21 |
+
|
| 22 |
+
{"type": "ConvTranspose2d", "in_channels": 64, "out_channels": 3, "kernel_size": 4, "stride": 2, "padding": 1, "bias": false},
|
| 23 |
+
{"type": "Tanh"}
|
| 24 |
+
]
|
| 25 |
+
},
|
| 26 |
+
"discriminator": {
|
| 27 |
+
// Add discriminator configuration here if needed
|
| 28 |
+
},
|
| 29 |
+
"optimizer": {
|
| 30 |
+
// Add optimizer configuration here if needed
|
| 31 |
+
},
|
| 32 |
+
"loss": "BCELoss"
|
| 33 |
+
}
|