Context Is King!分享 http://blog.sciencenet.cn/u/chauncey 计算机视觉

博文

caffe for windows 安装

已有 17574 次阅读 2014-7-18 16:50 |个人分类:Deep Learning|系统分类:科研笔记

caffe的windows版本安装

下载地址:https://github.com/niuzhiheng/caffe 

环境:

  • Windows 64位

  • MS VS 2012

  • CUDA toolkit 6.0

  • 其他依赖库(opencv,boost,glog,protobuf,leveldb等)可以直接从这里下载  

步骤:(懒得翻译了)

  • Check out the code and switch to windows branch

  • Download the dependency file and extract the folders inside to project root directory.

  • Include any .cpp you want to build in the ./tools directory to MainCaller.cpp.

  • Open the solution file in ./build/MSVC

  • Switch build target to x64 platform (Both debug and release are OK).

  • Build the code and you may find the ./bin/MainCaller.exe


注意:

   我的GPU Gefore GT 630的计算能力是2.1,但是设置compute_21,sm_21时编译出错;如果设置compute_35,sm_35,则编译通过,运行时出错。最后参考网上的给了个暴力的:compute_10,sm_10;compute_20,sm_20;compute_30,sm_30;compute_35,sm_35


至此编译编译通过,注释maincaller中的cpp,依次编译,并修改为对应的名字。


在MNIST数据库用配置好的lenet网络参数测试成功。




https://blog.sciencenet.cn/blog-43092-812757.html

上一篇:reading list about DL
下一篇:caffe 资料收集
收藏 IP: 27.19.173.*| 热度|

1 Vetaren11

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-22 09:33

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部