Skip to content

zty557/TADSR

Repository files navigation

🔥 Time-Aware One Step Diffusion Network for Real-World Image Super-Resolution

🚩 Accepted by CVPR2026

Image    Image    Image   

This is the official PyTorch codes for the paper

Time-Aware One Step Diffusion Network for Real-World Image Super-Resolution
Tianyi Zhang1, Zhengpeng Duan1, Peng-Tao Jiang2, Bo Li Fu2, MingMing Cheng1, Chunle Guo1,3,†, Chongyi Li1,3
1 VCIP, CS, Nankai University, 2 vivo Mobile Communication Co. Ltd. , 3 NKIARI, Shenzhen Futian
Corresponding author.

teaser_img

⭐ If TADSR is helpful to your images or projects, please help star this repo. Thank you! 👈


💥 News

  • 2025.08.25 Create this repo.

🏃 TODO

  • Release training and inference code
  • Release Checkpoints

🔧 Dependencies and Installation

  1. Clone repo
git clone https://github.com/zty557/TADSR.git
cd TADSR
  1. Install packages
conda create -n tadsr python==3.10 -y
conda activate tadsr
pip install -r requirements.txt

🏄 Quick Inference

Step 1: Download Checkpoints

Download the [TADSR] checkpoints and place them in the directories preset/weights.

Step 2: Prepare testing data

Place low-quality images in preset/datasets/test_datasets/. You can download RealSR, DrealSR and RealLR200 from [SeeSR], Thanks for their awesome works.

Step 3: Running testing command

bash scripts/test_tadsr.sh

Replace the [image_path] and [output_dir] with their respective paths before running the command.

Step 4: Check the results

The processed results will be saved in the [output_dir] directory.

💪 Train

Step 1: Prepare the training data

  • Download the training datasets LSDIR.
  • Following [SeeSR], you can generate the LR-HR pairs for training using.
  • Using bash_data/get_tag.sh to get the paths of each HR-LR pair and their corresponding prompts, and you will receive a dataset_list.txt file in the following format.
LSDIR/HR_image/0000001.png LSDIR/LR_image/0000001.png "tag prompt of 0000001.png"
LSDIR/HR_image/0000002.png LSDIR/LR_image/0000002.png "tag prompt of 0000002.png"
LSDIR/HR_image/0000003.png LSDIR/LR_image/0000003.png "tag prompt of 0000003.png"
...

Step 2: Start train

Use the following command to start the training process:

bash scripts/train_tadsr.sh

Replace the [txt_path] with the path to the dataset_list.txt file generated by your dataset.

📜 License

This project is licensed under the Pi-Lab License 1.0 - see the LICENSE file for details.

📖 Citation

If you find our repo useful for your research, please consider citing our paper:

@misc{zhang2025timeawarestepdiffusionnetwork,
    title={Time-Aware One Step Diffusion Network for Real-World Image Super-Resolution}, 
    author={Tainyi Zhang and Zheng-Peng Duan and Peng-Tao Jiang and Bo Li and Ming-Ming Cheng and Chun-Le Guo and Chongyi Li},
    year={2025},
    eprint={2508.16557},
    archivePrefix={arXiv},
    primaryClass={eess.IV},
    url={https://arxiv.org/abs/2508.16557}, 
}

📮 Contact

For technical questions, please contact zty557@gmail.com

About

This is the official PyTorch codes for the paper: "Time-Aware One Step Diffusion Network for Real-World Image Super-Resolution"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages