Code Monkey home page Code Monkey logo

tnarihi-caffe-helper's Introduction

Caffe helper

This repositry provides helper tools and additional layers for BVLC/caffe. Basically it is developed for my own use, so documentation is quite poor and codes are not so clean.

Set up

@tnarihi's Caffe fork

This helper tools require to use @tnarihi's branch of Caffe. You can get it by running:

git clone git://github.com:tnarihi/caffe.git
cd caffe
git checkout -b future origin/future

Once you get it, you will follow the installation of python dependencies in the below section, then you can install it as you do to install the original Caffe.

Python dependencies.

Some Python layers of caffe require additional dependencies.

Here on Gist is a script which installs the dependencies of this tools. This will install Miniconda Python distribution in your home directory, and install the dependencies. If you already have Anaconda/Miniconda, you might be able to skip the python installation step in the script. I've confirmed this works on Ubuntu 12.04/14.04. I am installing OpenCV using conda but I recommend you to install OpenCV from source because there would be some library conflicts. There might be some non-Python dependencies needed to be installed.

Setting paths

To use caffe and tnarihi-caffe-helper, you should set some environmental vars. If you work on bash:

echo "export CAFFE_ROOT=<your caffe directory>" >> ~/.bashrc
echo "export PYTHONPATH=<your caffe directory>/python:<your caffe helper directory>/python":$PYTHONPATH >> ~/.bashrc

Test everythinig works

After installing them, run py.test at python folder.

cd <your caffe helper directory>/python
py.test

tnarihi-caffe-helper's People

Contributors

tnarihi avatar

Watchers

 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.