clcaffe配置windows版本经验

3 篇文章 0 订阅
1 篇文章 0 订阅

参考:

1.https://software.intel.com/zh-cn/articles/installation-and-configuration-of-bvlc-caffe-under-windows-the-caffe-learning-notes-part1

1.https://software.intel.com/zh-cn/articles/installation-configuration-and-enhancement-of-clcaffe-based-on-intel-hd-graphics-acceleration-under-windows-the-caffe-learning-notes-part2

一、自己使用的环境

1.win10+vs2015

2.Anaconda2-5.2.0-Windows-x86_64

3.cmake-3.9.3-win64-x64

4.Git-2.18.0-64-bit

5.intel_sdk_for_opencl_2017_7.0.0.2567,最新的应该都可以

二、编译过程中可能遇到的问题:

1.clopen需要指定cpu=0

2.案例中提供的下载caffe方式是错误的,错误如下:

git clone https://github.com/01org/caffe.git
cd caffe
git checkout inference-optimize

git pull

此方式下载到的是非windows版本,需要单独下载inference-optimize,inference-optimize支持windows。

3.参数设置

set BUILD_PYTHON=1

set BUILD_PYTHON_LAYER=1
set USE_INTEL_SPATIAL=1
set USE_GREENTEA=1
set USE_ISAAC=1
set RUN_TESTS=0
set RUN_INSTALL=1
set PYTHON_VERSION=2
call scripts\build_win.cmd


4.编译结束后一定要做如下操作,否则会报错。

Please be noted that, after the building finished successfully, before you try to run the application, you need to copy the dl.dll (dlfcn) and isaac.dll (isaac) into the same directory or put them into a system directory(C:\Windows\System32).

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值