Load prehsept models in java.
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
On-site, use
$ ln -s /mnt/tools/libtorch/1.9.0/pre-cxx11 ./libtorch
before sourcing setenv
.
$ mvn clean compile exec:java
The demo-models in rsc
were created with
prehsept.