Exception: ai.djl.translate.TranslateException: This NDArray implementation does not currently support this operation #2316
Unanswered
zhangsongming
asked this question in
Q&A
Replies: 3 comments
-
OnnxRuntime engine doesn't support NDArray operations. You need install PyTorch engine as well. |
Beta Was this translation helpful? Give feedback.
0 replies
-
thanks for your help, but my model is onnx, so should i convert onnx model to pytorch or paddle? |
Beta Was this translation helpful? Give feedback.
0 replies
-
You don't need convert your model. You can run your model in tensor in/tensor out mode. But if you want to do pre/post processing with NDArray operations, you need PyTorch or MXNet engine together with ONNX. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to setup Djl + Paddleocr on local, but throw this exception, please help.
djl.api version: 0.15.0
java : 8
engine: onnx
Beta Was this translation helpful? Give feedback.
All reactions