Ce Wang1, Zhenyu Hu1, Zhenzhong Chen1, Wanjie Sun1 1School of Remote Sensing and Information Engineering, Wuhan University
- Visual Results
- Installation
- Pretrained Models
- Dataset
- Inference
- Training
- Citation
- Acknowledgements
- Contact
# 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.txtDownload the pretrained models from the link below and place them in the checkpoints/ directory:
- 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.
- 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- 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.shIf 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}
}This project is based on S3Diff. We thank the authors for their excellent work.
If you have any questions, feel free to reach out to: Ce Wang — cewang@whu.edu.cn



