Path: blob/master/site/en-snapshot/hub/tutorials/image_enhancing.ipynb
25118 views
Kernel: Python 3
Copyright 2019 The TensorFlow Hub Authors.
Licensed under the Apache License, Version 2.0 (the "License");
Created by @Adrish Dey for Google Summer of Code 2019
In [ ]:
Image Super Resolution using ESRGAN
This colab demonstrates use of TensorFlow Hub Module for Enhanced Super Resolution Generative Adversarial Network (by Xintao Wang et.al.) [Paper] [Code]
for image enhancing. (Preferrably bicubically downsampled images).
Model trained on DIV2K Dataset (on bicubically downsampled images) on image patches of size 128 x 128.
Preparing Environment
In [ ]:
In [ ]:
In [ ]:
Defining Helper Functions
In [ ]:
In [ ]:
Performing Super Resolution of images loaded from path
In [ ]:
In [ ]:
In [ ]:
In [ ]:
In [ ]:
Evaluating Performance of the Model
In [ ]:
In [ ]:
In [ ]:
In [ ]:
In [ ]:
In [ ]:
In [ ]:
In [ ]:
Comparing Outputs size by side.
In [ ]: