[UPDATE! 2026-10-06] The improved CCDM (iCCDM) has been accepted by IEEE TMM.
[UPDATE! 2026-02-01] We have released the improved CCDM (iCCDM) at ./CCDM/iCCDM, designed based on the EDM framework to replace the initial CCDM.
If you use this code, please cite
@ARTICLE{ding2026iccdm,
title={Enhancing Diffusion-Based Quantitatively Controllable Image Generation via Matrix-Form EDM and Adaptive Vicinal Training},
author={Ding, Xin and Chen, Yun and Zhang, Sen and Zhang, Kao and Chen, Nenglun and Cao, Peibei and Wang, Yongwei and Wu, Fei},
journal={IEEE Transactions on Multimedia},
year={2026},
volume={},
number={},
pages={1-12},
keywords={Modeling;Labeling;Diffusion models;Training;Conferences;Noise reduction;Matrices;Noise;Titanium;Image synthesis;Diffusion models;controllable image generation;continuous scalar conditions},
doi={10.1109/TMM.2026.3746733}
}
@ARTICLE{ding2026ccdm,
author={Ding, Xin and Wang, Yongwei and Zhang, Kao and Wang, Z. Jane},
journal={IEEE Transactions on Multimedia},
title={CCDM: Continuous Conditional Diffusion Models for Image Generation},
year={2026},
volume={},
number={},
pages={1-13},
doi={10.1109/TMM.2026.3660128}
}

Comparison of Sliding FID versus Sampling Speed Across Three Model Families on the Steering Angle Dataset (
RC-49_64x64_OneDrive_link
RC-49_64x64_BaiduYun_link
Cell-200_64x64_OneDrive_link
Cell-200_64x64_BaiduYun_link
UTKFace_64x64_Onedrive_link
UTKFace_64x64_BaiduYun_link
UTKFace_128x128_OneDrive_link
UTKFace_128x128_BaiduYun_link
UTKFace_192x192_OneDrive_link
UTKFace_192x192_BaiduYun_link
UTKFace_256x256_OneDrive_link
UTKFace_256x256_BaiduYun_link
SteeringAngle_64x64_OneDrive_link
SteeringAngle_64x64_BaiduYun_link
SteeringAngle_128x128_OneDrive_link
SteeringAngle_128x128_BaiduYun_link
SteeringAngle_256x256_OneDrive_link
SteeringAngle_256x256_BaiduYun_link
Download the evaluation checkpoints (zip file) from OneDrive or BaiduYun, then extract the contents to ./CCDM/iCCDM/evaluation/eval_ckpts.
We provide the .sh file for training on each dataset in ./CCDM/iCCDM/config. Ensure the root path and data path are correctly configured.
After the training, the sampling usually automatically starts. The evaluation setups are consistent with Ding et. al. (2025).
After the training, the sampling usually automatically starts. Ensure that the --do_eval flag is enabled.
To enable NIQE calculation, set both --dump_fake_for_niqe and --niqe_dump_path to output generated images to your specified directory.