Very Deep Net for Super-Resolution
Released in 2016, this net uses an architecture inspired by VGG in order to create super-resolution images. It takes an interpolated low-resolution image and refines the details to create a sharp upsampling.
Number of layers: 40 |
Parameter count: 665,921 |
Trained size: 3 MB |
Examples
Resource retrieval
Get the pre-trained net:
Evaluation function
Write an evaluation function to handle net resizing and color conversion:
Basic usage
Get an image:
Downscale the image by a factor of 3:
Upscale the downscaled image using the net:
Compare the details with a naively upscaled version:
Evaluate the peak signal-to-noise ratio:
Net information
Inspect the number of parameters of all arrays in the net:
Obtain the total number of parameters:
Obtain the layer type counts:
Display the summary graphic:
Export to MXNet
Export the net into a format that can be opened in MXNet:
Export also creates a net.params file containing parameters:
Get the size of the parameter file:
The size is similar to the byte count of the resource object:
Represent the MXNet net as a graph:
Requirements
Wolfram Language
11.3
(March 2018)
or above
Resource History
Reference
-
J. Kim, J. Kwon Lee and K. Mu Lee, "Accurate Image Super-Resolution Using Very Deep Convolutional Networks," Proc. of IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (2016)
- Available from: https://github.com/huangzehao/caffe-vdsr
-
Rights:
MIT License