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

libedgetpu not working on raspberrypi4 #63

Closed
7216nat opened this issue Jul 11, 2023 · 2 comments
Closed

libedgetpu not working on raspberrypi4 #63

7216nat opened this issue Jul 11, 2023 · 2 comments

Comments

@7216nat
Copy link

7216nat commented Jul 11, 2023

Trying to reproduce the # example-object-tracker on a raspberrypi4 based on this layer...

And the problem that I'm facing right now is that I have found the similar issue that have already mentioned in this:

OSError: /usr/lib/libedgetpu.so.1: undefined symbol: _ZN4absl19str_format_internal13FormatArgImpl8DispatchIPKcEEbNS2_4DataENS1_24FormatConversionSpecImplEPv
Exception ignored in: <function Delegate.del at 0x7fedbacb0>
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/tflite_runtime/interpreter.py", line 118, in del
if self._library is not None:
AttributeError: 'Delegate' object has no attribute '_library'

Since there is no example of delegating to a edgeTPU, and those *.so are present under /usr/lib/ for sure, I just don`t know what am I doing wrong?

I am building with kirkstone branch, customized with libedgeTPU updates.

@7216nat
Copy link
Author

7216nat commented Jul 11, 2023

Closing this issue, I have already solved it.

In case anyone finds themselves in the same situation, for me the problem was no dynamic linking during the libedgetpu's compilation.

@7216nat 7216nat closed this as completed Jul 11, 2023
@NobuoTsukamoto
Copy link
Owner

Sorry for the late reply.
You say you've already solved it, but I'm guessing that there was probably a problem with the order of the libedgetpu compile options.

I think that it is the contents of the following patch file of the main branch.

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