Bus Error when running model #54
Labels
comp:model
Model related isssues
comp:thirdparty
Thirdparty related issues
Hardware:USB Accelerator
Coral USB Accelerator issues
subtype:ubuntu/linux
Ubuntu/Linux Build/installation issues
type:build/install
Build and install issues
Description
I have a project where i want to run the blaze face short range (https://github.com/google/mediapipe/blob/master/mediapipe/examples/coral/models/face-detector-quantized_edgetpu.tflite) compiled for the edge tpu on my Raspberry pi 4 with Debian bookworm plus the coral TPU Accelerator with c++. I already tried it with the pycoral api and it is runing on my edgetpu (~400 fps) So i assume the model should be fine.
I made a code similar to the code suggested when running a model with edgetpu and tensorflowlite (https://coral.ai/docs/edgetpu/tflite-cpp/#set-up-the-tf-lite-interpreter-with-libedgetpu). This is my code:
this is the output
So as soon i am calling the set threads, there is going something wrong. A problem could be that i crosscompiled the libtensorflowlite.so the newest TF (2.15) with Bazel fro arm (https://www.tensorflow.org/lite/guide/build_arm) and for the libedgetpu i crosscompiled it for aarch64 with Docker and Bazel (https://github.com/google-coral/libedgetpu). The problem is that there is a default version for TF for the libedgetpu in the workspace.btl file (TF 2.5). I dont know if that is the problem but i tried first to crosscompile libedgetpu.so with the newest TF by adjusting the commit and sha256 in the workspace.bzl file and i tried to crosscompile libtensorflowlite.so for a TF 2.5. Both did not work. Do you have any hints for me?
Best wishes
Click to expand!
Issue Type
Build/Install
Operating System
Ubuntu
Coral Device
USB Accelerator
Other Devices
Rapsberry Pi 4
Programming Language
C++
Relevant Log Output
No response
The text was updated successfully, but these errors were encountered: