Open NakanoSanku opened 1 year ago
i find the problem about output_meta only one,but need four and i don`t know how to add 4 output_meta with meta_writer
I'm having the same issue: Error getting native address of native library: task_vision_jni java.lang.IllegalArgumentException: Error occurred when initializing ObjectDetector: Mobile SSD models are expected to have exactly 4 outputs, found 1
don't know if it's relevant but i found differences between my model and the ones that came built
This is mine:
This is the built in one in with the project
the input type and the min/max value is different.
bump with this
I'm getting this similar error but no complaints about the tensor objects, it fails on initialization itself, and the CPU works just fine, it seems to not be able to find the library (interface) task_vision_jni
. Not sure if this is specific to the device (assuming this is supposed to be a native binary), as it doesn't work on the emulator either. I get the error Error occurred when initializing ObjectDetector: ModifyGraphWithDelegate() failed for delegate 'GPU'.
@bhimeshchauhan have you resolved? How?
Any updates with this??
I tried to export tflite using a custom model trained by yolov8 and run it on my Android app, but I got an error I am confident that I will be able to use the model provided by the hub MetaData
'org.tensorflow:tensorflow-lite-task-vision:0.4.4'