Metadata-Version: 2.1
Name: bsrgan
Version: 0.1.0
Summary: Packaged version of the BSRGAN repository
Home-page: https://github.com/kadirnar/bsrgan-pip
Author: kadirnar
License: MIT
Keywords: machine-learning,deep-learning,pytorch,vision,image-classification,Image Super-Resolution,gan
Classifier: Development Status :: 5 - Production/Stable
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Education
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

<div align="center">
<h2>
  BSRGAN-Pip: Packaged version of the BSRGAN repository  
</h2>
<h4>
    <img width="800" alt="teaser" src="docs/degradationmodel.png">
</h4>
</div>

## <div align="center">Overview</div>

This repo is a packaged version of the [BSRGAN](https://github.com/cszn/BSRGAN) model.
### Installation
```
pip install bsrgan
```

### BSRGAN Usage
```python
from bsrgan import BSRGAN

model = BSRGAN(weights='kadirnar/bsrgan', device='cuda:0')
model.save = True

pred = model.predict(img_path='data/image/test.png')
```
### Citation
```bibtex
@article{li2022yolov6,
  title={YOLOv6: A single-stage object detection framework for industrial applications},
  author={Li, Chuyi and Li, Lulu and Jiang, Hongliang and Weng, Kaiheng and Geng, Yifei and Li, Liang and Ke, Zaidan and Li, Qingyuan and Cheng, Meng and Nie, Weiqiang and others},
  journal={arXiv preprint arXiv:2209.02976},
  year={2022}
}
```
