arcore-ml-sample icon indicating copy to clipboard operation
arcore-ml-sample copied to clipboard

Unable to use custom object detection model

Open xinrui98 opened this issue 4 years ago • 1 comments

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

xinrui98 avatar May 28 '21 08:05 xinrui98

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.

devbridie avatar Jun 07 '21 14:06 devbridie