Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,23 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: bsd-3-clause
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: bsd-3-clause
|
| 3 |
+
tags:
|
| 4 |
+
- onnx
|
| 5 |
+
- super-resolution
|
| 6 |
+
- ezonnx
|
| 7 |
+
---
|
| 8 |
+
### Real-ESRGAN-ONNX
|
| 9 |
+
ONNX models for inference with [EZONNX](https://github.com/ikeboo/ezonnx)
|
| 10 |
+
|
| 11 |
+
- Model type:
|
| 12 |
+
Image super resolution
|
| 13 |
+
|
| 14 |
+
- Official implementation repository:
|
| 15 |
+
[Real-ESRGAN](https://github.com/xinntao/Real-ESRGAN)
|
| 16 |
+
|
| 17 |
+
- Usage
|
| 18 |
+
```python
|
| 19 |
+
from ezonnx import RealESRGAN, visualize_images
|
| 20 |
+
model = RealESRGAN() # automatically load from Hugging Face
|
| 21 |
+
ret = model("image.jpg")
|
| 22 |
+
visualize_images(["Super-Resolved Image"],[ret.processed_img[...,::-1])
|
| 23 |
+
```
|