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

Support for Spatial Transformer Networks #40

Open
beniz opened this issue Dec 30, 2015 · 4 comments
Open

Support for Spatial Transformer Networks #40

beniz opened this issue Dec 30, 2015 · 4 comments

Comments

@beniz
Copy link
Collaborator

beniz commented Dec 30, 2015

Spatial Transformers act as a warping / attention mechanism useful for a variety of tasks.

There's a handful of repositories implementing STN for Caffe, see BVLC/caffe#3114

However, STN have not made it into official Caffe yet, so it would need to be added to dd Caffe backend https://github.com/beniz/caffe/tree/master_dd_integ and rebased as Caffe recently changed the distribution of layers in C++ files.

Original paper: http://arxiv.org/abs/1506.02025

Implementations of interest:

Applications of interest:

  • Efficient downsampling
  • Learning of affine transformation for image classification
  • Attention mechanism for fine-grained image classification
@beniz
Copy link
Collaborator Author

beniz commented Jun 14, 2016

This now appears to be readily available for Caffe, see https://github.com/matthieudelaro/caffeBVLCplus/tree/stn and BVLC/caffe#3114 (comment)

This is not part of official Caffe, so there's need for it to be merged in a branch of our Caffe backend, then test on a variety of architectures.

@ayumiymk
Copy link

Do you know some examples about STN used as attention mechanism?

@beniz
Copy link
Collaborator Author

beniz commented Mar 23, 2017

This task has remained unattended, so no.

@beniz
Copy link
Collaborator Author

beniz commented Oct 19, 2017

https://github.com/daerduoCarey/SpatialTransformerLayer appears to be an almost up to date version, the CPU code should be replaced with the more optimized version from the BVLCplus repository above.

Useful blog post: http://christopher5106.github.io/big/data/2016/04/18/spatial-transformer-layers-caffe-tensorflow.html

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

No branches or pull requests

2 participants