Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 742 Bytes

README.md

File metadata and controls

44 lines (32 loc) · 742 Bytes

Serving prehsept Models in Java

Load prehsept models in java.

Installation

Depends on LibTorch and check pom.xml for further dependencies.

$ source setenv
$ mvn install

where LIBTORCH_HOME in setenv should be

/path/to/libtorch
├── bin
├── build-hash
├── build-version
├── include
├── lib
└── share

At E&D

On-site, use

$ ln -s /mnt/tools/libtorch/1.9.0/pre-cxx11 ./libtorch

before sourcing setenv.

Demo

$ mvn clean compile exec:java

The demo-models in rsc were created with prehsept.