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

Unable to use custom object detection model #1

Open
xinrui98 opened this issue May 28, 2021 · 1 comment
Open

Unable to use custom object detection model #1

xinrui98 opened this issue May 28, 2021 · 1 comment

Comments

@xinrui98
Copy link

Hello! When I try to use my custom object detection model, the app crashes and I obtain this error. Would really appreciate it if you could help. Thank you so much!
Screenshot 2021-05-28 at 4 21 02 PM

@devbridie
Copy link
Collaborator

Sorry, I was out of office this week. It seems like your model isn't meant for classifying images; here's an example of one that this sample supports: https://tfhub.dev/tensorflow/lite-model/inception_v4/1/default/1

note the input type:

Image data: ByteBuffer sized 299 x 299 x 3 x PIXEL_DEPTH, where PIXEL_DEPTH is 4 for float model, and 1 for quantized model.

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

2 participants