Skip to content

cnsuhao/Caffe_Test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caffe_Test

The main role of the project: Caffe's usage

  • Caffe's third library usage: Boost、GFlags、GLog、LevelDB、LMDB、ProtoBuf、HDF5、OpenBLAS、Snappy
    • Boost version: 1.58.0
    • ProtoBuf version: 3.2
    • GLog version: mater, commit: da816ea, date: 2017.03.07
    • GFlags version: 2.2.0
    • LevelDB version: 1.18
    • LMDB version: 0.9.19
    • HDF5 version: 1.10.0-patch1
    • Snappy version: 1.1.4
    • OpenBLAS version: 0.2.19
  • MNIST convert to LMDB/LevelDB
  • MNIST train and predict
  • cifar10 convert to LMDB/LevelDB
  • compute image mean
  • cifar10 train and predict
  • Caffe main header files's usage, include:
    • caffe/common.hpp
    • caffe/util/mkl_alternate.hpp
    • caffe/util/math_functions.hpp
    • caffe/syncedmem.hpp
    • caffe/blob.hpp
    • caffe/util/io.hpp
    • caffe/layers/pooling_layer.hpp
    • caffe/net.hpp
    • caffe/solver.hpp

The project support platform: windows7/10 64 bits. It can be directly build with VS2013 in windows7/10 64bits, compile step:

  1. from https://github.com/opencv/opencv/releases download opencv2.4.13, unzip to D:\soft\OpenCV2.4.13, add D:\soft\OpenCV2.4.13\opencv\build\x64\vc12\bin to Path
  2. from http://www.boost.org/users/history/version_1_58_0.html download boost1.58.0, install to D:\ProgramFiles, add D:\ProgramFiles\local\boost_1_58_0\lib64-msvc-12.0 to Path
  3. clone or download Caffe_Test to E:\GitCode, open Caffe.sln, first build dependent libraries, next build libcaffe.
  4. if you have already installed and configured cuda8.0 in your PC, then you can build libcaffe_gpu too.

Screenshot:

Blog: fengbingchun

Releases

No releases published

Packages

No packages published

Languages

  • C 30.6%
  • Fortran 29.1%
  • Assembly 15.9%
  • C++ 13.0%
  • Makefile 3.4%
  • Jupyter Notebook 3.1%
  • Other 4.9%