Add config.json
Browse files- config.json +42 -0
config.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "diffusion",
|
| 3 |
+
"architectures": ["UNet"],
|
| 4 |
+
"model_name": "conditional_diffusion_medical",
|
| 5 |
+
"description": "Conditional diffusion model for medical image generation",
|
| 6 |
+
"version": "1.0.0",
|
| 7 |
+
"author": "Your Name",
|
| 8 |
+
"license": "MIT",
|
| 9 |
+
"tags": ["diffusion", "medical", "image-generation", "conditional"],
|
| 10 |
+
"model_config": {
|
| 11 |
+
"input_channels": 4,
|
| 12 |
+
"output_channels": 4,
|
| 13 |
+
"image_size": 256,
|
| 14 |
+
"embed_dim": 256,
|
| 15 |
+
"embed_dim_mask": 256,
|
| 16 |
+
"input_dim_mask": 262144,
|
| 17 |
+
"channels": [32, 64, 128, 256, 512],
|
| 18 |
+
"lambda": 25.0,
|
| 19 |
+
"num_steps": 250,
|
| 20 |
+
"eps": 0.001
|
| 21 |
+
},
|
| 22 |
+
"training_config": {
|
| 23 |
+
"learning_rate": 2e-4,
|
| 24 |
+
"batch_size": 1,
|
| 25 |
+
"epochs": 5000,
|
| 26 |
+
"optimizer": "Adam",
|
| 27 |
+
"loss": "score_matching",
|
| 28 |
+
"scheduler": "LambdaLR"
|
| 29 |
+
},
|
| 30 |
+
"dataset": {
|
| 31 |
+
"name": "medical_ct_scans",
|
| 32 |
+
"train_samples": 3346,
|
| 33 |
+
"input_shape": [4, 256, 256],
|
| 34 |
+
"conditioning_shape": [4, 256, 256]
|
| 35 |
+
},
|
| 36 |
+
"inference": {
|
| 37 |
+
"device": "cuda",
|
| 38 |
+
"sampler": "Euler_Maruyama",
|
| 39 |
+
"num_steps": 250,
|
| 40 |
+
"eps": 0.001
|
| 41 |
+
}
|
| 42 |
+
}
|