You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FATAL EXCEPTION: Thread-3
Process: org.tensorflow.lite.examples.detection, PID: 16013
java.lang.IllegalArgumentException: Cannot copy between a TensorFlowLite tensor with shape [1, 2535, 4] and a Java object with shape [1, 10647, 4].
at org.tensorflow.lite.Tensor.throwIfShapeIsIncompatible(Tensor.java:412)
at org.tensorflow.lite.Tensor.throwIfDataIsIncompatible(Tensor.java:369)
at org.tensorflow.lite.Tensor.copyTo(Tensor.java:247)
at org.tensorflow.lite.NativeInterpreterWrapper.run(NativeInterpreterWrapper.java:166)
at org.tensorflow.lite.Interpreter.runForMultipleInputsOutputs(Interpreter.java:314)
at org.tensorflow.lite.examples.detection.tflite.YoloV4Classifier.getDetectionsForFull(YoloV4Classifier.java:390)
at org.tensorflow.lite.examples.detection.tflite.YoloV4Classifier.recognizeImage(YoloV4Classifier.java:542)
at org.tensorflow.lite.examples.detection.tflite.YoloV4Classifier.recognizeImage(YoloV4Classifier.java:61)
at org.tensorflow.lite.examples.detection.MainActivity.lambda$onCreate$1$MainActivity(MainActivity.java:52)
at org.tensorflow.lite.examples.detection.-$$Lambda$MainActivity$LY74jRIssqCKTCIXoueLUBqMOX4.run(Unknown Source:4)
at java.lang.Thread.run(Thread.java:1012)
The text was updated successfully, but these errors were encountered:
I forked from url https://github.com/haroonshakeel/tensorflow-yolov4-tflite. I build app but, when I click on detect and camera app crashes. Below are the crash logs. Please try to help if possible.
FATAL EXCEPTION: Thread-3
Process: org.tensorflow.lite.examples.detection, PID: 16013
java.lang.IllegalArgumentException: Cannot copy between a TensorFlowLite tensor with shape [1, 2535, 4] and a Java object with shape [1, 10647, 4].
at org.tensorflow.lite.Tensor.throwIfShapeIsIncompatible(Tensor.java:412)
at org.tensorflow.lite.Tensor.throwIfDataIsIncompatible(Tensor.java:369)
at org.tensorflow.lite.Tensor.copyTo(Tensor.java:247)
at org.tensorflow.lite.NativeInterpreterWrapper.run(NativeInterpreterWrapper.java:166)
at org.tensorflow.lite.Interpreter.runForMultipleInputsOutputs(Interpreter.java:314)
at org.tensorflow.lite.examples.detection.tflite.YoloV4Classifier.getDetectionsForFull(YoloV4Classifier.java:390)
at org.tensorflow.lite.examples.detection.tflite.YoloV4Classifier.recognizeImage(YoloV4Classifier.java:542)
at org.tensorflow.lite.examples.detection.tflite.YoloV4Classifier.recognizeImage(YoloV4Classifier.java:61)
at org.tensorflow.lite.examples.detection.MainActivity.lambda$onCreate$1$MainActivity(MainActivity.java:52)
at org.tensorflow.lite.examples.detection.-$$Lambda$MainActivity$LY74jRIssqCKTCIXoueLUBqMOX4.run(Unknown Source:4)
at java.lang.Thread.run(Thread.java:1012)
The text was updated successfully, but these errors were encountered: