1The Hong Kong Polytechnic University, 2OPPO Research Institute
- [2024.07] Release OSEDiff-SD21base.
- [2024.06] This repo is created.
-
Clone repo
git clone https://github.com/cswry/OSEDiff.git cd OSEDiff
-
Install dependent packages
conda create -n OSEDiff python=3.10 -y conda activate OSEDiff pip install --upgrade pip pip install -r requirements.txt
-
Download Models
python test_osediff.py \
-i preset/datasets/test_dataset/input \
-o preset/datasets/test_dataset/output \
--osediff_path preset/models/osediff.pkl \
--pretrained_model_name_or_path SD21BASE_PATH \
--ram_ft_path DAPE_PATH \
--ram_path RAM_PATH
- For convenient evaluation and comparison, we have published the test results of DIV2K_val, RealSR, and DRealSR on Google Drive.
This project is released under the Apache 2.0 license.
If you have any questions, please feel free to contact: rong-yuan.wu@connect.polyu.hk
@article{wu2024one,
title={One-Step Effective Diffusion Network for Real-World Image Super-Resolution},
author={Wu, Rongyuan and Sun, Lingchen and Ma, Zhiyuan and Zhang, Lei},
journal={arXiv preprint arXiv:2406.08177},
year={2024}
}