Mathematica library link wrapper for BVLC/Caffe
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
module Fix memory leak in setParamBlob[] Feb 9, 2015
.gitignore Initial commit Dec 22, 2014
CLnets.cpp
CLnets.hpp Fix memory leak in setParamBlob[] Feb 9, 2015
Makefile Updated Makefile, BLAS is needed only for cblas_test, which is option… Dec 25, 2014
Makefile.osx Added Makefile for OS X (works on Yosemite 10.10.1) Jan 9, 2015
README.md Update and add examples, file path checking Jan 11, 2015
build_utils.hpp Initial commit Dec 22, 2014
caffeLink.cpp Fix memory leak in setParamBlob[] Feb 9, 2015
caffeLink.hpp Fix memory leak in setParamBlob[] Feb 9, 2015
libLink_inputs.cpp Fix memory leak in setParamBlob[] Feb 9, 2015
libLink_inputs.hpp Fix memory leak in setParamBlob[] Feb 9, 2015
libLink_outputs.cpp Add support for layer name as parameter for get*BlobSize and set*Blob Jan 8, 2015
libLink_start.cpp Fix memory leak in setParamBlob[] Feb 9, 2015
utils.cpp Fix memory leak in setParamBlob[] Feb 9, 2015
utils.hpp

README.md

CaffeLink

Mathematica library link wrapper for Caffe

This library allows using Caffe directly from Mathematica. CaffeLink can be also used as regular library from C++ applications. The interface and function calls are basicly the same as in Mathematica.

Installation

Assuming you have successfully build Caffe, you should have everything needed by CaffeLink.

  1. Edit makefile as required
  • path to Mathematica C headers
  • path to Caffe and its headers
  1. make
  2. Copy or create link to libcaffeLink.so somewhere in $LibraryPath
  • eg: /home/alfons/.Mathematica/SystemFiles/LibraryResources/Linux-x86-64/
  • or: /Users/alfons/Library/Mathematica/Applications/IPCU/LibraryResources/MacOSX-x86-64/
  1. Test installation with liblink-test.nb

Usage examples