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

[Filter] SIGSEGV when using EdgeTPU #4433

Open
IvanFilipov opened this issue Apr 5, 2024 · 4 comments
Open

[Filter] SIGSEGV when using EdgeTPU #4433

IvanFilipov opened this issue Apr 5, 2024 · 4 comments

Comments

@IvanFilipov
Copy link

IvanFilipov commented Apr 5, 2024

Hello, nnstreamer team!

Similar to #4194,
I am also getting the error signal, when trying to run an edge tpu model
with the corresponding "framework=edgetpu" parameter to tensor_filter.

My current setup is Rpi with Ubuntu 22.04, the latest NNStreamer from PPA and
Coral TPU USB accelerator.

What will be your suggestion to get it running?
Is there another way except for the one mentioned by the author of the other bug -
compiling nnstreamer with an older version of tflite?

I can see that you have some planned effort on the topic, perhaps we will have a stable fix soon?

All the best,
Ivan F.

@taos-ci
Copy link
Collaborator

taos-ci commented Apr 5, 2024

:octocat: cibot: Thank you for posting issue #4433. The person in charge will reply soon.

@myungjoo
Copy link
Member

myungjoo commented Apr 6, 2024

You will need to use older tensorflow-lite for a while: #4194 (comment)

We do not have plans to solve this issue right now. We need volunteers or any team member with spare time to fix this. You can take #4206 and fix it, too.

@anyj0527
Copy link
Member

@IvanFilipov You may give these libedgetpu packages a shot instead of NNStreamer PPA's ones. It is known as solving the libedgetpu segfault issue with recent tflite runtimes. If it does not work, our source code may need to be changed accordingly.

@IvanFilipov
Copy link
Author

@anyj0527, thank you for your reply!

I can confirm that using the std version (https://github.com/feranick/libedgetpu/releases/download/16.0TF2.16.1-1/libedgetpu1-std_16.0tf2.16.1-1.ubuntu22.04_arm64.deb) has done the trick.

I have installed the lib first, then nnstreamer-edgetpu.

It works just fine on Rpi 4 with Ubuntu 22.04, but also
I have managed to run the setup in a docker container on a few different HW setups
(Coral dev board for example) and those tests were also successful.

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

4 participants