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
I’ve trained a custom TensorFlow Lite model and am using it through the tflite package. However, when I activate the camera, the app crashes after a while. The error message is: E/AndroidRuntime(31106): Caused by: java.lang.IllegalArgumentException: Cannot copy from a TensorFlowLite tensor (StatefulPartitionedCall:1) with shape [1, 10] to a Java object with shape [1, 10, 4].
I noticed that this is a common issue, as is reported in #180.
If it helps, below is a portion of the code I wrote,
I’ve trained a custom TensorFlow Lite model and am using it through the tflite package. However, when I activate the camera, the app crashes after a while. The error message is: E/AndroidRuntime(31106): Caused by: java.lang.IllegalArgumentException: Cannot copy from a TensorFlowLite tensor (StatefulPartitionedCall:1) with shape [1, 10] to a Java object with shape [1, 10, 4].
I noticed that this is a common issue, as is reported in #180.
If it helps, below is a portion of the code I wrote,
The text was updated successfully, but these errors were encountered: