meeeee12
meeeee12
I have switched to maven using these dependencies: ``` ai.djl api 0.21.0 ai.djl.pytorch pytorch-engine 0.21.0 org.slf4j slf4j-simple 2.0.6 ``` Now I get: ``` Exception in thread "main" ai.djl.engine.EngineException: PytorchStreamReader failed...
I exported the model to torchscript and `criteria.loadModel()` is now working but now when I run `predictor.predict(image)` I get a new exception: ``` java.lang.RuntimeException: ai.djl.translate.TranslateException: ai.djl.engine.EngineException: The following operation failed...
removing `.addTransform(new Resize(640))` from the `translator` fixed the issue but now I get: ``` java.lang.RuntimeException: ai.djl.translate.TranslateException: java.lang.IndexOutOfBoundsException: Index 96 out of bounds for length 80 at YoloNet.detect(YoloNet.java:94) at YOLO$1.drop(YOLO.java:135) at...
I'm setting the `.optSynset(...)`, I posted my code in the first comment. I tried re-exporting to torchscript using different export settings and it changed to `IndexOutOfBoundsException ` for 2102 out...
I am using Java 11.0.9 running on Windows 10