SuperSecureHuman
commited on
initial commit
Browse files- README.md +25 -0
- requirements.txt +3 -0
- trained.h5 +3 -0
README.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: mit
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: EDSR Keras
|
| 3 |
+
emoji: 🚀
|
| 4 |
+
colorFrom: pink
|
| 5 |
+
colorTo: yellow
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: 3.0.9
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
license: mit
|
| 11 |
---
|
| 12 |
+
|
| 13 |
+
This space is the demo for the EDSR (Enhanced Deep Residual Networks for Single Image Super-Resolution) model. This model surpassed the performace of the current available SOTA models.
|
| 14 |
+
|
| 15 |
+
Paper Link - https://arxiv.org/pdf/1707.02921
|
| 16 |
+
|
| 17 |
+
Keras Example link - https://keras.io/examples/vision/edsr/
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
TODO:
|
| 21 |
+
|
| 22 |
+
Hack to make this work for any image size. Currently the model takes input of image size 150 x 150.
|
| 23 |
+
We pad the input image with transparant pixels so that it is a square image, which is a multiple of 150 x 150
|
| 24 |
+
Then we chop the image into multiple 150 x 150 sub images
|
| 25 |
+
Upscale it and stich it together.
|
| 26 |
+
|
| 27 |
+
The output image might look a bit off, because each sub-image dosent have data about other sub-images.
|
| 28 |
+
This approach assumes that the subimage has enough data about its surroundings
|
requirements.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
scikit-image
|
| 2 |
+
tensorflow
|
| 3 |
+
keras
|
trained.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c89499b79222015964a9f4e29f16801a6e987acdef00e6865c80141cb9e08150
|
| 3 |
+
size 18563184
|