djl
djl copied to clipboard
An Engine-Agnostic Deep Learning Framework in Java
Does NDImageUtils.resize has the same result with cv2.resize? They all use bilinear by default. I got some diff between NDImageUtils.resize and cv2.resize
## Description ## Brief description of what this PR is about - If this change is a backward incompatible change, why must this change be made? - Interesting edge cases...
## Description Runtime won't load a converted model for bge-m3 ### Expected Behavior No errors. ### Error Message Exception in thread "main" java.lang.RuntimeException: data did not match any variant of...
## Description ``` import ai.djl.Device; import ai.djl.MalformedModelException; import ai.djl.Model; import ai.djl.engine.Engine; import ai.djl.inference.Predictor; import ai.djl.ndarray.NDArray; import ai.djl.ndarray.NDList; import ai.djl.ndarray.NDManager; import ai.djl.translate.Batchifier; import ai.djl.translate.TranslateException; import ai.djl.translate.Translator; import ai.djl.translate.TranslatorContext; import java.io.IOException; import...
``` 23/02/01 16:09:44 ERROR Executor: Exception in task 0.0 in stage 3.0 (TID 2) ai.djl.engine.EngineException: Failed to load PyTorch native library at ai.djl.pytorch.engine.PtEngine.newInstance(PtEngine.java:85) at ai.djl.pytorch.engine.PtEngineProvider.getEngine(PtEngineProvider.java:40) at ai.djl.engine.Engine.getEngine(Engine.java:186) at ai.djl.Model.newInstance(Model.java:99) at...
## Description Some files are failing to download after updating pytorch-engine to 0.20.0, the files aren't on your cloud instances so DJL just throws an error ### Expected Behavior Downloads...
## Description ignore_eos_token is commonly used additional parameter to help standardize LLM benchmarks by forcing the requests to generate a consistent output seq len. -Will this change the current api?...
I've downloaded pre-trained model from [Github Repository](https://github.com/timesler/facenet-pytorch?tab=readme-ov-file), which is **20180402-114759-vggface2.pt**. I've used this in python and it is working fine with great accuracy. **python.py:** ``` from facenet_pytorch import MTCNN, InceptionResnetV1...
Hi, I use BatchPredict API for batch prediction, and when the input data shape is NDList size: 1, 0 : (2, 64) int32 or NDList size: 2 0 : (64)...
## Description ## Refactored certain identifiers in the code - expanded certain variable names according to its usage in the code to make them more descriptive. Meanwhile, changed "testOffLine" to...