EmbCaffe---基于Caffe的优化前向计算的框架

See project in github : https://github.com/FreeApe/EmbCaffe

Embedded Caffe

  Make the depth learning model running on Embedded Systems and multi-platform.

Features

  • Based on caffe
  • Compact,Only forward calculation
  • Support faster rcnn
  • Support ssd
  • Support GPU/CPU model(Windows only support CPU model now)
  • Cross-platform
  • Small
  • Remove the gtest
  • Remove the test
  • Remove the python wrapper

Requirements

Linux

System              : Linux / Ubuntu 14.04
Cmake               : 3.4+
C++ compiler        : 4.8+
BLAS                : Atlas
Boost               : 1.54
glog                : Y
gflags              : Y
protobuf            : 2.6.1
CUDA                : 7.5
cuDNN               : 5.0.5
OpenCV              : N (for examples)

Windows

System              : Windows
Cmake-gui           : 3.8+
C++ compiler        : vc140(VS2015)
embcaffe_3rdparty   : https://github.com/FreeApe/embcaffe_3rdparty

Build

Build EmbCaffe on Linux

  • Way 1
# Note: Test examples with this way
$ cd EmbCaffe
$ mkdir cmake_build
$ cd cmake_build
$ cmake ..
$ make all -j
  • Way 2
$ cd EmbCaffe
$ make all -j

Build EmbCaffe on Windows

1. with CMake-gui3.8+
2. git clone https://github.com/FreeApe/embcaffe_3rdparty(You can also compile these third-party libraries yourself)
2. Configure and Generate(You should configure CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH)
3. Open Caffe.sln with VS2015
4. build solutions

Build examples

  Linux:

$ cd examples
$ mkdir build
$ cd build
$ cmake ..
$ make -j

  Windows:

1. with CMake-gui3.8+
2. Configure and Generate
3. Open Caffe-example.sln with VS2015
4. build solutions
5. run demos

  Running the examples, the results show as :

ssd

faster-rcnn

Build Errors

1. error ‘type name’ declared as function returning an array escape

    Make sure the CUDA version is 7.5

TODO / Targets

  • Remove Backward calculation
  • Support GPU model on windows
  • Optimize the calculation
  • ……

Thanks

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值