Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Seilim/CaffeLink
Mathematica library link wrapper for BVLC/Caffe
https://github.com/Seilim/CaffeLink
Last synced: 3 months ago
JSON representation
Mathematica library link wrapper for BVLC/Caffe
- Host: GitHub
- URL: https://github.com/Seilim/CaffeLink
- Owner: Seilim
- Created: 2014-12-22T10:41:20.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-14T21:26:56.000Z (about 9 years ago)
- Last Synced: 2024-07-18T20:46:31.029Z (4 months ago)
- Language: Mathematica
- Size: 7.35 MB
- Stars: 20
- Watchers: 4
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-wolfram-language - CaffeLink
README
CaffeLink
=========Mathematica library link wrapper for [Caffe](https://github.com/BVLC/caffe)
This library allows using Caffe directly from [Mathematica](http://www.wolfram.com/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
2. `make`
3. 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/`
4. Test installation with [liblink-test.nb](../master/module/demo/liblink-test.nb)### Usage examples
* [LeNet](http://yann.lecun.com/exdb/publis/pdf/lecun-01a.pdf) MNIST example based on [Caffe example](https://github.com/BVLC/caffe/tree/master/examples/mnist)
* Mathematica notebook: [mnist.nb](../master/module/demo/mnist.nb)
* Pdf: [mnist.pdf](../master/module/demo/mnist.pdf)
* [AlexNet](http://papers.nips.cc/paper/4824-imagenet-classification-with-deep-convolutional-neural-networks) ImageNet example based on [Caffe example](http://nbviewer.ipython.org/github/BVLC/caffe/blob/master/examples/filter_visualization.ipynb)
* Mathematica notebook: [imageNet.nb](../master/module/demo/imageNet.nb)
* Pdf: [imageNet.pdf](../master/module/demo/imageNet.pdf)