Upload training_metadata.json with huggingface_hub
Browse files- training_metadata.json +60 -0
training_metadata.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"normal_dir": null,
|
| 4 |
+
"output_dir": "/content/training_runs/medserra_chest_ai",
|
| 5 |
+
"mask_dir": null,
|
| 6 |
+
"covid_qu_ex_dir": "/content/training_runs/medserra_chest_ai/kaggle_assets/anasmohammedtahir__covidqu",
|
| 7 |
+
"covid_kaggle_dataset": "anasmohammedtahir/covidqu",
|
| 8 |
+
"download_covid_kaggle": true,
|
| 9 |
+
"hf_token": "***redacted***",
|
| 10 |
+
"hf_model_repo": "iraqigold/Chest-XRay-Autoencoder",
|
| 11 |
+
"hf_dataset_repo": "iraqigold/X-Ray-Images",
|
| 12 |
+
"hf_upload_repo": "iraqigold/Chest-XRay-Autoencoder",
|
| 13 |
+
"upload_to_hf": true,
|
| 14 |
+
"download_hf": true,
|
| 15 |
+
"autoencoder_checkpoint": null,
|
| 16 |
+
"base_checkpoint": null,
|
| 17 |
+
"organ_profile": "chest_xray",
|
| 18 |
+
"stage": "all",
|
| 19 |
+
"seed": 42,
|
| 20 |
+
"image_size": 256,
|
| 21 |
+
"val_ratio": 0.12,
|
| 22 |
+
"batch_size": 128,
|
| 23 |
+
"num_workers": 0,
|
| 24 |
+
"ae_epochs": 0,
|
| 25 |
+
"seg_epochs": 10,
|
| 26 |
+
"target_total_seg_epochs": 30,
|
| 27 |
+
"ae_lr": 0.0001,
|
| 28 |
+
"seg_lr": 0.0002,
|
| 29 |
+
"weight_decay": 0.0001,
|
| 30 |
+
"synthetic_positive_prob": 0.75,
|
| 31 |
+
"hard_negative_prob": 0.2,
|
| 32 |
+
"min_synthetic_lesions": 1,
|
| 33 |
+
"max_synthetic_lesions": 9,
|
| 34 |
+
"threshold_min": 0.005,
|
| 35 |
+
"threshold_max": 0.5,
|
| 36 |
+
"threshold_steps": 80,
|
| 37 |
+
"save_every": 3,
|
| 38 |
+
"no_imagenet": false,
|
| 39 |
+
"resume_existing_ae": true,
|
| 40 |
+
"resume_segmentation": true,
|
| 41 |
+
"require_locked_radar_resume": true,
|
| 42 |
+
"upload_every_epochs": 3,
|
| 43 |
+
"upload_on_best": true
|
| 44 |
+
},
|
| 45 |
+
"train_count": 15926,
|
| 46 |
+
"val_count": 2171,
|
| 47 |
+
"best": {
|
| 48 |
+
"best_threshold": 0.5,
|
| 49 |
+
"best_dice": 0.8899215459823608,
|
| 50 |
+
"best_iou": 0.8567548394203186,
|
| 51 |
+
"epoch": 21
|
| 52 |
+
},
|
| 53 |
+
"notes": [
|
| 54 |
+
"Use complete_chest_ai_best.pth for deployment when validation Dice is highest.",
|
| 55 |
+
"The application architecture must stay identical: ae_radar + surgeon_refiner.",
|
| 56 |
+
"COVID-QU-Ex support uses infection masks only; lung masks are intentionally ignored.",
|
| 57 |
+
"All real and synthetic masks are trained as one binary disease_area target, without disease classification.",
|
| 58 |
+
"To support another organ later, add an OrganProfile and ROI extractor, then reuse the same two-stage training flow."
|
| 59 |
+
]
|
| 60 |
+
}
|