Skip to content

marcoromelli/caffe

 
 

Repository files navigation

Caffe with MDLSTM extension

This fork of Caffe adds support for the Multi-Dimensional LSTM layer proposed by Alex Graves (arXiv).

The main contribution is in the MDLSTMLayer.cpp which implements a CPU parallel version of the layer based on OpenMP. The code should compile without problems on Linux and MacOS (be careful though because Mac doesn't have OpenMP support by default).

Currently there is no GPU implementation for this layer and any suggestion/help is appreciated (write to 91snake91(at)gmail(dot)com).

Example usage

The layer is called MDLSTM in the protobuf definition. A full example can be found in the examples/mnist/mdlstm folder. Refer to the caffe.proto file for the full list of available params.

License and Citation

Caffe is released under the BSD 2-Clause license. The BVLC reference models are released for unrestricted use.

Please cite Caffe in your publications if it helps your research:

@article{jia2014caffe,
  Author = {Jia, Yangqing and Shelhamer, Evan and Donahue, Jeff and Karayev, Sergey and Long, Jonathan and Girshick, Ross and Guadarrama, Sergio and Darrell, Trevor},
  Journal = {arXiv preprint arXiv:1408.5093},
  Title = {Caffe: Convolutional Architecture for Fast Feature Embedding},
  Year = {2014}
}

Packages

No packages published

Languages

  • C++ 81.2%
  • Python 8.7%
  • Cuda 5.1%
  • CMake 2.8%
  • MATLAB 1.0%
  • Makefile 0.7%
  • Shell 0.5%