- install protocol buffer 3.4.0, referring this link http://blog.csdn.net/twilightdream/article/details/72953338
- sudo -H pip install --upgrade protobuf==3.1.0.post1
- sudo apt-get install libhdf5-dev
- sudo apt-get install python-h5py
- remember WITH_PYTHON_LAYER := 1 !
- make all
- make pycaffe
- download data and models from http://www.eecs.berkeley.edu/~lisa_anne/LRCN_video,
- change my path like '/home/link/frames' in sequence_input_layer.py to your path and modify other relative path.
- bash run_lstm_flow.sh, start training!
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!
This repository contains merged code issued as pull request to BVLC caffe written by: Wei Liu, Dragomir Anguelov, Dumitru Erhan, Christian Szegedy, Scott Reed, Cheng-Yang Fu, Alexander C. Berg.
Original branch can be found at https://github.com/weiliu89/caffe/tree/ssd.
Read our wiki page for more details.
This fork is dedicated to improving Caffe performance when running on CPU, in particular Intel® Xeon processors (HSW, BDW, Xeon Phi)
Build procedure is the same as on bvlc-caffe-master branch. Both Make and CMake can be used. When OpenMP is available will be used automatically.
Run procedure is the same as on bvlc-caffe-master branch.
Current implementation uses OpenMP threads. By default the number of OpenMP threads is set to the number of CPU cores. Each one thread is bound to a single core to achieve best performance results. It is however possible to use own configuration by providing right one through OpenMP environmental variables like OMP_NUM_THREADS or GOMP_CPU_AFFINITY.
If some system tool like numactl is used to control CPU affinity, by default caffe will prevent to use more than one thread per core. When less than required cores are specified, caffe will limit execution of OpenMP threads to specified cores only.
Please read our Wiki for our recommendations and configuration to achieve best performance on Intel CPUs.
Intel® Distribution of Caffe* multi-node allows you to execute deep neural network training on multiple machines.
To understand how it works and read some tutorials, go to our Wiki. Start from Multinode guide.
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}
}
*Other names and brands may be claimed as the property of others