Example of using JavaCPP Presets for Caffe for image classification. It is java version of original C++ caffe example.
- Linux or MacOS
- java 8
- CUDA 8
./gradlew shadowJar
java -jar jarfile.jar deploy.prototxt network.caffemodel mean.binaryproto labels.txt image.jpg