Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,41 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- Super-Resolution
|
| 5 |
+
- computer-vision
|
| 6 |
+
- bsrgan
|
| 7 |
+
- gan
|
| 8 |
---
|
| 9 |
+
|
| 10 |
+
### Model Description
|
| 11 |
+
[BSRGAN: Designing a Practical Degradation Model for Deep Blind Image Super-Resolution .](https://arxiv.org/abs/2103.14006)
|
| 12 |
+
|
| 13 |
+
[BSRGAN-Pip: Packaged version of the BSRGAN repository](https://github.com/kadirnar/bsrgan-pip/)
|
| 14 |
+
|
| 15 |
+
[Paper Repo: Implementation of paper - BSRGAN](https://github.com/cszn/BSRGAN)
|
| 16 |
+
|
| 17 |
+
### Installation
|
| 18 |
+
```
|
| 19 |
+
pip install bsrgan
|
| 20 |
+
```
|
| 21 |
+
|
| 22 |
+
### BSRGAN Usage
|
| 23 |
+
```python
|
| 24 |
+
from bsrgan import BSRGAN
|
| 25 |
+
|
| 26 |
+
model = BSRGAN(weights='kadirnar/BSRGANx2', device='cuda:0', hf_model=True)
|
| 27 |
+
model.save = True
|
| 28 |
+
|
| 29 |
+
pred = model.predict(img_path='data/image/test.png')
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
### BibTeX Entry and Citation Info
|
| 33 |
+
```
|
| 34 |
+
@inproceedings{zhang2021designing,
|
| 35 |
+
title={Designing a Practical Degradation Model for Deep Blind Image Super-Resolution},
|
| 36 |
+
author={Zhang, Kai and Liang, Jingyun and Van Gool, Luc and Timofte, Radu},
|
| 37 |
+
booktitle={IEEE International Conference on Computer Vision},
|
| 38 |
+
pages={4791--4800},
|
| 39 |
+
year={2021}
|
| 40 |
+
}
|
| 41 |
+
```
|