Commit fc6a651a authored by boomb0om's avatar boomb0om
Browse files

Update README.md

parent 8c001321
# Real-ESRGAN # Real-ESRGAN
PyTorch implementation of a Real-ESRGAN model trained on custom dataset. This model shows better results on faces compared to the original version. It is also easier to integrate this model into your projects. PyTorch implementation of a Real-ESRGAN model trained on custom dataset. This model shows better results on faces compared to the original version. It is also easier to integrate this model into your projects.
Real-ESRGAN is an upgraded [ESRGAN](https://arxiv.org/abs/1809.00219) trained with pure synthetic data is capable of enhancing details while removing annoying artifacts for common real-world images.
You can try it in [google colab](https://colab.research.google.com/drive/1yO6deHTscL7FBcB6_SRzbxRr1nVtuZYE?usp=sharing) You can try it in [google colab](https://colab.research.google.com/drive/1yO6deHTscL7FBcB6_SRzbxRr1nVtuZYE?usp=sharing)
- Paper: [Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data](https://arxiv.org/abs/2107.10833) - Paper: [Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data](https://arxiv.org/abs/2107.10833)
...@@ -29,7 +31,7 @@ You can try it in [google colab](https://colab.research.google.com/drive/1yO6deH ...@@ -29,7 +31,7 @@ You can try it in [google colab](https://colab.research.google.com/drive/1yO6deH
--- ---
Basic example: Basic usage:
```python ```python
import torch import torch
...@@ -50,3 +52,34 @@ sr_image = model.predict(image) ...@@ -50,3 +52,34 @@ sr_image = model.predict(image)
sr_image.save('results/sr_image.png') sr_image.save('results/sr_image.png')
``` ```
### Examples
---
Low quality image:
![](inputs/lr_image.png)
Real-ESRGAN result:
![](results/sr_image.png)
---
Low quality image:
![](inputs/lr_face.png)
Real-ESRGAN result:
![](results/sr_face.png)
---
Low quality image:
![](inputs/lr_lion.png)
Real-ESRGAN result:
![](results/sr_lion.png)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment