Skip to content

Latest commit

 

History

History

caffe-sample-classifier

README.md

Caffe sample classifier

Example of using JavaCPP Presets for Caffe for image classification. It is java version of original C++ caffe example.

Requirements

  • Linux or MacOS
  • java 8
  • CUDA 8

Build

./gradlew shadowJar

Run

java -jar jarfile.jar deploy.prototxt network.caffemodel mean.binaryproto labels.txt image.jpg