can't run program on android os oreo(8.1) but program can run on android os marshmallow(6.0). error is given in the log as follows.
2022-03-10 19:47:08.264 29063-30043/org.tensorflow.lite.examples.detection E/AndroidRuntime: FATAL EXCEPTION: Thread-2
Process: org.tensorflow.lite.examples.detection, PID: 29063
java.lang.IllegalArgumentException: Internal error: Failed to run on the given Interpreter: Next operations are not supported by GPU delegate:
EXP: Operation is not supported.
SPLIT_V: Operation is not supported.
SUB: Expected 2 input tensor(s), but node has 1 runtime input(s).
First 1 operations will run on the GPU, and the remaining 692 on the CPU.
OpenCL library not loaded - dlopen failed: library "libOpenCL-pixel.so" not found
Falling back to OpenGL
TfLiteGpuDelegate Invoke: ToTensorConverter: input data size does not match expected size
at org.tensorflow.lite.NativeInterpreterWrapper.run(Native Method)
at org.tensorflow.lite.NativeInterpreterWrapper.run(NativeInterpreterWrapper.java:154)
at org.tensorflow.lite.Interpreter.runForMultipleInputsOutputs(Interpreter.java:314)
at org.tensorflow.lite.examples.detection.tflite.YoloV4Classifier.getDetectionsForFull(YoloV4Classifier.java:391)
at org.tensorflow.lite.examples.detection.tflite.YoloV4Classifier.recognizeImage(YoloV4Classifier.java:543)
at org.tensorflow.lite.examples.detection.tflite.YoloV4Classifier.recognizeImage(YoloV4Classifier.java:62)
at org.tensorflow.lite.examples.detection.ScanActivity.lambda$onCreate$4$ScanActivity(ScanActivity.java:104)
at org.tensorflow.lite.examples.detection.-$$Lambda$ScanActivity$mX0cOFJlxxVMt9N0Q-MxTwHJVJI.run(Unknown Source:4)
at java.lang.Thread.run(Thread.java:764)
I've tried using yolov4 tflite and yolov4 tflite float16 no progress at all. please help solve my problem.
can't run program on android os oreo(8.1) but program can run on android os marshmallow(6.0). error is given in the log as follows. 2022-03-10 19:47:08.264 29063-30043/org.tensorflow.lite.examples.detection E/AndroidRuntime: FATAL EXCEPTION: Thread-2 Process: org.tensorflow.lite.examples.detection, PID: 29063 java.lang.IllegalArgumentException: Internal error: Failed to run on the given Interpreter: Next operations are not supported by GPU delegate: EXP: Operation is not supported. SPLIT_V: Operation is not supported. SUB: Expected 2 input tensor(s), but node has 1 runtime input(s). First 1 operations will run on the GPU, and the remaining 692 on the CPU. OpenCL library not loaded - dlopen failed: library "libOpenCL-pixel.so" not found Falling back to OpenGL TfLiteGpuDelegate Invoke: ToTensorConverter: input data size does not match expected size at org.tensorflow.lite.NativeInterpreterWrapper.run(Native Method) at org.tensorflow.lite.NativeInterpreterWrapper.run(NativeInterpreterWrapper.java:154) at org.tensorflow.lite.Interpreter.runForMultipleInputsOutputs(Interpreter.java:314) at org.tensorflow.lite.examples.detection.tflite.YoloV4Classifier.getDetectionsForFull(YoloV4Classifier.java:391) at org.tensorflow.lite.examples.detection.tflite.YoloV4Classifier.recognizeImage(YoloV4Classifier.java:543) at org.tensorflow.lite.examples.detection.tflite.YoloV4Classifier.recognizeImage(YoloV4Classifier.java:62) at org.tensorflow.lite.examples.detection.ScanActivity.lambda$onCreate$4$ScanActivity(ScanActivity.java:104) at org.tensorflow.lite.examples.detection.-$$Lambda$ScanActivity$mX0cOFJlxxVMt9N0Q-MxTwHJVJI.run(Unknown Source:4) at java.lang.Thread.run(Thread.java:764)
I've tried using yolov4 tflite and yolov4 tflite float16 no progress at all. please help solve my problem.