Views
No views yet
| File | Size | Description |
|---|---|---|
diffusion_v3_zerosnr_vpred_epoch500.pt | ~6.9 GB | Conditional denoising U-Net (860M params, 15-channel input) plus the clinical encoder. Trained for 500 epochs (seed 42) under a zero-terminal-SNR schedule with the velocity-prediction objective. Contains both raw and EMA weights; the reported numbers use the raw (non-EMA) weights. Optimizer state is stripped. |
vae_finetuned.pt | ~335 MB | SD 1.5 VAE fine-tuned on retinal fundus images (reconstruction SSIM 0.954). Stored under model_state_dict. |
| Estimator | SSIM | PSNR (dB) | LPIPS | FID |
|---|---|---|---|---|
| Single sample (w = 1) | 0.791 | 21.60 | 0.123 | 33.2 |
| Posterior mean (K = 12) | 0.809 | 21.39 | 0.175 | 103.3 |
src/inference/diffusion_sampler.py). It loads the two checkpoints as follows:1from src.inference.diffusion_sampler import load_model, sample
2
3unet, clin, vae = load_model(
4 "diffusion_v3_zerosnr_vpred_epoch500.pt",
5 "vae_finetuned.pt",
6 device="cuda",
7 use_ema=False, # raw weights reproduce the reported numbers
8)
9
10pred = sample(
11 unet, clin, vae,
12 baseline, # (1, 3, 512, 512) in [-1, 1]
13 clinical, # (1, 7) standardized clinical vector
14 guidance_scale=1.0,
15 num_steps=50,
16 prediction_type="v_prediction",
17 zero_snr=True,
18)[0]unet_state_dict, clinical_encoder_state_dict, ema_unet_state_dict, ema_clinical_state_dict, and config; the VAE exposes model_state_dict.1@article{usama2026retinal,
2 title={Conditional Latent Diffusion for Predictive Retinal Fundus Image Synthesis from Baseline Imaging and Clinical Metadata},
3 author={Usama, Muhammad and Pazo, Emmanuel Eric and Li, Xiaorong and Liu, Juping},
4 note={Manuscript under review},
5 year={2026}
6}