Lingchen Sun1,2 | Rongyuan Wu1,2 | Zhiyuan Ma1 | Shuaizheng Liu1,2 | Qiaosi Yi1,2 | Lei Zhang1,2
1The Hong Kong Polytechnic University, 2OPPO Research Institute
The code and model will be ready soon.
- 2024.12.4: The paper and this repo are released.
⭐ If PiSA-SR is helpful to your images or projects, please help star this repo. Thanks! 🤗
(a) Training procedure of PiSA-SR. During the training process, two LoRA modules are respectively optimized for pixel-level and semantic-level enhancement.
(b) Inference procedure of PiSA-SR. During the inference stage, users can use the default setting to reconstruct the high-quality image in one-step diffusion or adjust λpix and λsem to control the strengths of pixel-level and semantic-level enhancement.
By increasing the guidance scale λpix on the pixel-level LoRA module, the image degradations such as noise and compression artifacts can be gradually removed; however, a too-strong λpix will make the SR image over-smoothed. By increasing the guidance scale λsem on the semantic-level LoRA module, the SR images will have more semantic details; nonetheless, a too-high λsem will generate visual artifacts.
If our code helps your research or work, please consider citing our paper. The following are BibTeX references:
@article{sun2024pisasr,
title={Pixel-level and Semantic-level Adjustable Super-resolution: A Dual-LoRA Approach},
author={Sun, Lingchen and Wu, Rongyuan and Ma, Zhiyuan and Liu, Shuaizheng and Yi, Qiaosi and Zhang, Lei},
journal={arXiv preprint arXiv:2412.03017},
year={2024}
}
This project is released under the Apache 2.0 license.
If you have any questions, please contact: ling-chen.sun@connect.polyu.hk