Closed hongyaohongyao closed 2 years ago
@hongyaohongyao Thanks for reporting this issue. This is broken, will take a look.
@hongyaohongyao I think you have to make sure PyTorch engine is loaded before you call
Engine engine = Engine.getEngine("PyTorch");
JniUtils.setGraphExecutorOptimize(true);
I updated document: https://github.com/deepjavalibrary/djl/pull/1275
@hongyaohongyao I think you have to make sure PyTorch engine is loaded before you call
Engine engine = Engine.getEngine("PyTorch"); JniUtils.setGraphExecutorOptimize(true);
it works,thanks
the error was thrown when I call the following function