Load prehsept models in java.
Depends on LibTorch
and check pom.xml for further dependencies.
$ source setenv
$ mvn installwhere 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 ./libtorchbefore sourcing setenv.
$ mvn clean compile exec:javaThe demo-models in rsc were created with
prehsept.