Giter Site home page Giter Site logo

caffe-windows-dependencies's Introduction

Deprecated

Use https://github.com/willyd/caffe-builder instead.

caffe-windows-dependencies

This project sets up a super build of most of the Caffe library dependencies on Windows. The dependencies built by this project are:

  • gflags
  • glog
  • leveldb
  • lmdb
  • protobuf
  • snappy
  • opencv
  • hdf5

It does not build the following dependencies:

  • boost

Windows binaries for these dependencies are widely available. Please note that boost is required to build the windows version of leveldb.

The project is setup via git submodules pointing to either the original code repository on github or a fork of the project so that a CMake-based build is available.

When this project is built it will generate binaries and includes (via CMake install) and a cmake cache file that cane be used so configure the CMake based build of Caffe. Here is what an initial setup would look like ##打开“VS2013 x64 兼容工具命令提示”输入命令 cmd> md caffe cmd> cd caffe cmd> git clone https://github.com/willyd/caffe.git caffe cmd> git checkout windows cmd> git clone --recursive https://github.com/willyd/caffe-windows-dependencies.git caffe-windows-dependencies cmd> md build-caffe-windows-dependencies cmd> cd build-caffe-windows-dependencies cmd> cmake -G "Visual Studio 12 Win64" ..\caffe-windows-dependencies # configure your environment, set path to boost, set path to opencv, etc... cmd> cmake --build . --config Debug cmd> cmake --build . --config Release cmd> cd .. cmd> md build-caffe cmd> cd build-caffe cmd> cmake -G "Visual Studio 12 Win64" -C ..\build-caffe-windows-dependencies\install\caffe-cache-init.cmake ..\caffe cmd> cmake --build . --config Debug cmd> cmake --build . --config Release

This was only test with Visual Studio 2013 64 bit build and CMake 3.2.

caffe-windows-dependencies's People

Contributors

willyd avatar yuzhuqingyun avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.