README.md
June 26, 2025 · View on GitHub
[ICCV 2025] Timestep-Aware Diffusion Model for Extreme Image Rescaling
Ce Wang1, Zhenyu Hu1, Zhenzhong Chen1, Wanjie Sun1 1School of Remote Sensing and Information Engineering, Wuhan University
📚 Table of Contents
- Visual Results
- Installation
- Pretrained Models
- Dataset
- Inference
- Training
- Citation
- Acknowledgements
- Contact
👁️ Visual Results
Results on DIV2K and CLIC2020
Results on Urban100
Results on DIV8K
⚙️ Installation
# Clone this repository
git clone https://github.com/wwangcece/TADM.git
# Create a conda environment with Python >= 3.9
conda create -n TADM python=3.9
conda activate TADM
# Install required packages
pip install -r requirements.txt
🧬 Pretrained Models
Download the pretrained models from the link below and place them in the checkpoints/ directory:
📊 Dataset
- Refer to the BasicSR dataset preparation guide to prepare high-resolution datasets.
- Use the script
src/get_z.pyto encode high-resolution images into latent features and save them as.npyfiles.
⚔️ Inference
- Modify the validation dataset configuration in
configs/tadm_test.yamland update the pretrained model path inrun_inference.sh. - Run the inference script:
sh run_inference.sh
🌟 Training
- Modify the training dataset configuration in
configs/tadm_train.yamland update settings inrun_training_dfrm.sh. - Train the feature rescaling module:
sh run_training_dfrm.sh
- Then modify
run_training_tadm.shas needed and train the TADM model:
sh run_training_tadm.sh
📖 Citation
If you find this work helpful, please consider citing:
@misc{wang2025timestepawarediffusionmodelextreme,
title={Timestep-Aware Diffusion Model for Extreme Image Rescaling},
author={Ce Wang and Zhenyu Hu and Wanjie Sun and Zhenzhong Chen},
year={2025},
eprint={2408.09151},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2408.09151}
}
🙏 Acknowledgements
This project is based on S3Diff. We thank the authors for their excellent work.
📨 Contact
If you have any questions, feel free to reach out to: Ce Wang — cewang@whu.edu.cn