Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do you have any suggestion on implementing this in caffe #25

Open
gaopeng-eugene opened this issue Jan 11, 2017 · 7 comments
Open

Do you have any suggestion on implementing this in caffe #25

gaopeng-eugene opened this issue Jan 11, 2017 · 7 comments

Comments

@gaopeng-eugene
Copy link

No description provided.

@xiaoshidai
Copy link

Have you implemented this model on caffe?

@timothybrooks
Copy link

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?

@IMG-PRCSNG
Copy link

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.

@timothybrooks
Copy link

timothybrooks commented Feb 24, 2017

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!

@IMG-PRCSNG
Copy link

@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.

@timothybrooks
Copy link

Thanks! I will definitely try it out.

@suke27
Copy link

suke27 commented Sep 18, 2017

is it based on ESPCN?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants