Skip to content

electronics-and-drives/prejept

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.