GithubHelp home page GithubHelp logo

super-resolution-zoo's Introduction

Super-Resolution-Zoo

Collection of pre-trained super-resolution models in MXNet.

There are also some models for other low-level vision tasks, e.g. denoising and deblocking.

Notice: I DO NOT guarantee that models are converted perfectly. I do have checked some of them (e.g. EDSR, RCAN), but most of the other models have only been tested roughly. Please feel free to report any issues that looks unnatural.

Demo@sa-mustafa

Explanation of configurations in info.md

super-resolution-zoo's People

Contributors

wolframrhodium avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

super-resolution-zoo's Issues

Question about RCAN

Hi,

I try to run the Super Resolution with RCAN method with RCAN_BDX3-0000 params and json.
My input image has a 224x224 dimension. I load the model as following:

symbol, arg_params, aux_params = mx.model.load_checkpoint('RCAN_BDX3', 0)
model = mx.mod.Module(symbol=symbol, label_names=None)
model.bind(data_shapes=[('data', (1, 3, 224, 224))], for_training=False)
model.init_params(arg_params=arg_params, aux_params=aux_params, allow_missing=False, allow_extra=False)

Then I load the image:
img = mx.image.imread(fname)
img_batch = DataBatch(mx.nd.array(img), 0)

And forward the model:
model.forward(img_batch)

The forward method generates the following error:
MXNetError: Error in operator pre_mean_shift: [14:55:42] c:\jenkins\workspace\mxnet-tag\mxnet\src\operator\tensor\./elemwise_binary_broadcast_op.h:68: Check failed: l == 1 || r == 1 operands could not be broadcast together with shapes [224,224,3] [1,3,1,1]

Does there is any modification to do inside JSON file ("attr": {"__shape__": "(1, 3, 1, 1)"} for instance) to run the model?

Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.