PerforatedCNNs accelerate convolutional neural networks (CNNs) by skipping evaluation of the convolutional layers in some of the spatial positions. See the paper for more details:
Michael Figurnov, Aijan Ibraimova, Dmitry Vetrov, Pushmeet Kohli. PerforatedCNNs: Acceleration through Elimination of Redundant Convolutions. NIPS 2016 [arXiv].
The code is based on Caffe from October 2015.
See also MatConvNet implementation of PerforatedCNNs. Differences between the two versions:
- Caffe version does not support perforating a network. For the purposes of the paper, we performed perforation in MatConvNet code, and then imported the network using
python/import_matconvnet.py
script. - Caffe version performs explicit interpolation of outputs in
ConvolutionPerforatedLayer
. This makes this implementation more self-contained, compared to MatConvNet implementation with implicit interpolation, as there is no need to tweak indices of reads of the next layer. However, this means that no memory is saved for storage of intermediate outputs, and that the speedup might be lower (especially for CPU version).
Caffe is a deep learning framework made with expression, speed, and modularity in mind. It is developed by the Berkeley Vision and Learning Center (BVLC) and community contributors.
Check out the project site for all the details like
- DIY Deep Learning for Vision with Caffe
- Tutorial Documentation
- BVLC reference models and the community model zoo
- Installation instructions
and step-by-step examples.
Please join the caffe-users group or gitter chat to ask questions and talk about methods and models. Framework development discussions and thorough bug reports are collected on Issues.
Happy brewing!
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}
}