Giter Site home page Giter Site logo

Comments (7)

xiaoshidai avatar xiaoshidai commented on August 26, 2024

Have you implemented this model on caffe?

from subpixel.

timothybrooks avatar timothybrooks commented on August 26, 2024

I too am interested in using an implementation of this in Caffe. Are either of you working on one or aware of any useful/related resources?

from subpixel.

IMG-PRCSNG avatar IMG-PRCSNG commented on August 26, 2024

You can write this as a python layer in caffe using numpy. Check out Caffe's python layer support. Numpy and TF are almost interchangeable in terms of the functions used in the operator. Sadly, the backward pass must also be implemented but it is fairly easy. You just have to do the operations in reverse. I am starting to write it, will post a link if I finish it.

from subpixel.

timothybrooks avatar timothybrooks commented on August 26, 2024

I found a pytorch implementation here: https://github.com/pytorch/examples/tree/master/super_resolution
As well as pytorch -> caffe conversion here: https://zhanghang1989.github.io/Torch2CaffeConverter/
You may just be able to convert it, although I have not yet tried it out myself. I'll let you know if make progress as well--thanks for the help!

from subpixel.

IMG-PRCSNG avatar IMG-PRCSNG commented on August 26, 2024

@timothybrooks This is my attempt at porting. I have tested the layer in a standalone fashion and have attached a script as well so that you can also test with various inputs. If you are interested do check and let me know if there are any mistakes.

from subpixel.

timothybrooks avatar timothybrooks commented on August 26, 2024

Thanks! I will definitely try it out.

from subpixel.

suke27 avatar suke27 commented on August 26, 2024

is it based on ESPCN?

from subpixel.

Related Issues (20)

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.