Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choosing images from Camera for training #34

Open
manali07 opened this issue Jan 14, 2020 · 2 comments
Open

Choosing images from Camera for training #34

manali07 opened this issue Jan 14, 2020 · 2 comments

Comments

@manali07
Copy link

E/AndroidRuntime: FATAL EXCEPTION: inference

java.lang.IllegalArgumentException: DataType error: cannot resolve DataType of java.nio.ByteBufferAsFloatBuffer
    at org.tensorflow.lite.Tensor.dataTypeOf(Tensor.java:170)
    at org.tensorflow.lite.Tensor.throwExceptionIfTypeIsIncompatible(Tensor.java:230)
    at org.tensorflow.lite.Tensor.copyTo(Tensor.java:116)
    at org.tensorflow.lite.NativeInterpreterWrapper.run(NativeInterpreterWrapper.java:157)
    at org.tensorflow.lite.Interpreter.runForMultipleInputsOutputs(Interpreter.java:250)
]
@proxcesumit
Copy link

@pillarpond can you please check? i am facing same error on launch.

@BluewareJ
Copy link

I fixed this issue by updating tensorflow-lite to latest version (2.2.0).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants