Cannot copy to a TensorFlowLite tensor (conv2d_input) with 16384 bytes from a Java Buffer with 49152 bytes. #2
Labels
bug
Something isn't working
good first issue
Good for newcomers
Hacktoberfest
Good for Participants of Hacktoberfest
help wanted
Extra attention is needed
Describe the bug
Input size mismatch between tflite model and java buffer.
To Reproduce
Steps to reproduce the behavior:
4.Choose and image and click Predict.
Expected behavior
The app should predict the number shown by fingers and output the same to user as a toast.
Additional context
try to manage size of image in MainActivity file.
The text was updated successfully, but these errors were encountered: