jCaffe
jCaffe copied to clipboard
Java interface for the Caffe deep learning framework
trafficstars
This is a set of Java bindings to the Caffe deep learning framework.
Prerequisites
- Caffe - installation instructions
- JNI - this is already installed on most Linux operating systems
Installation
- Download this repository and place it within your caffe home directory
- Run
make javaormakeinside the newly downloaded directory
This will generate a .jar and .so file in the lib/ directory.
Usage
In order to use the Java bindings you must:
- Add the
caffe_jni.jarfile to your project's dependencies - Make sure
/usr/local/cuda/lib64and$(CAFFE_HOME)/build/libare both in theLD_LIBRARY_PATHenvironment variable.