readme: ---
  license: apache-2.0
  tags:
    - Super-Resolution
    - computer-vision
    - RealSR
    - gan
  ---
  
  ### Model Description
  [RealSR](https://openaccess.thecvf.com/content_CVPRW_2020/papers/w31/Ji_Real-World_Super-Resolution_via_Kernel_Estimation_and_Noise_Injection_CVPRW_2020_paper.pdf): Real-World Super-Resolution via Kernel Estimation and Noise Injection.
  
  [NTIRE 2020 Challenge on Real-World Image Super-Resolution](https://arxiv.org/abs/2005.01996): Methods and Results
  
  [Paper Repo](https://github.com/Tencent/Real-SR): Implementation of paper.
  
  ### Installation
  ```
  pip install bsrgan
  ```
  
  ### BSRGAN Usage
  ```python
  from bsrgan import BSRGAN
  
  model = BSRGAN(weights='kadirnar/DF2K_JPEG', device='cuda:0', hf_model=True)
  model.save = True
  
  pred = model.predict(img_path='data/image/test.png')
  ```
  
  ### BibTeX Entry and Citation Info
  ```
  @inproceedings{zhang2021designing,
      title={Designing a Practical Degradation Model for Deep Blind Image Super-Resolution},
      author={Zhang, Kai and Liang, Jingyun and Van Gool, Luc and Timofte, Radu},
      booktitle={IEEE International Conference on Computer Vision},
      pages={4791--4800},
      year={2021}
  }
  ```
  ```
  @inproceedings{zhang2021designing,
      title={Designing a Practical Degradation Model for Deep Blind Image Super-Resolution},
      author={Zhang, Kai and Liang, Jingyun and Van Gool, Luc and Timofte, Radu},
      booktitle={IEEE International Conference on Computer Vision},
      pages={4791--4800},
      year={2021}
  }
  ```
  ```
  @article{Lugmayr2020ntire,
          title={NTIRE 2020 Challenge on Real-World Image Super-Resolution: Methods and Results},
          author={Andreas Lugmayr, Martin Danelljan, Radu Timofte, Namhyuk Ahn, Dongwoon Bai, Jie Cai, Yun Cao, Junyang Chen, Kaihua Cheng, SeYoung Chun, Wei Deng, Mostafa El-Khamy Chiu, Man Ho, Xiaozhong Ji, Amin Kheradmand, Gwantae Kim, Hanseok Ko, Kanghyu Lee, Jungwon Lee, Hao Li, Ziluan Liu, Zhi-Song Liu, Shuai Liu, Yunhua Lu, Zibo Meng, Pablo Navarrete, Michelini Christian, Micheloni Kalpesh, Prajapati Haoyu, Ren Yong, Hyeok Seo, Wan-Chi Siu, Kyung-Ah Sohn, Ying Tai, Rao Muhammad Umer, Shuangquan Wang, Huibing Wang, Timothy Haoning Wu, Haoning Wu, Biao Yang, Fuzhi Yang, Jaejun Yoo, Tongtong Zhao, Yuanbo Zhou, Haijie Zhuo, Ziyao Zong, Xueyi Zou},
          journal={CVPR Workshops},
          year={2020},
      }
  ```