Comments (7)
Have you implemented this model on caffe?
from subpixel.
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.
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.
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.
@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.
Thanks! I will definitely try it out.
from subpixel.
is it based on ESPCN?
from subpixel.
Related Issues (20)
- Implementation for keras HOT 1
- Dynamic image size [batch, None, None, 3] error. HOT 11
- Testing our dataset HOT 1
- Magic number
- Not work on tensorflow 1.3 HOT 2
- TypeError: Input 'split_dim' of 'Split' Op has type float32 that does not match expected type of int32. HOT 3
- problem when run main.py with mnist, Is there anyone have the same problem?or you know how this happen?please give me some advice!Thanks
- Query trained model
- Testing the model
- Please confirm PS(I,r) HOT 1
- How subpixel handle odd image size?
- What to do in grayscale images?
- ###########
- Keras SubPixel 3D
- Pre -Trained model HOT 1
- Evaluation HOT 1
- ValueError: Shape (32, 64, 32, 4, 4) must have rank 0
- the project requestments.txt is needed.
- Is this the same as tf depth_to_space?
- the first paper proposed subpixel convolution?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from subpixel.