Giter Site home page Giter Site logo

using object detection with TPU has some error(Segmentation fault). about tensorflow-lite-object-detection-on-android-and-raspberry-pi HOT 4 CLOSED

sangyo1 avatar sangyo1 commented on August 16, 2024
using object detection with TPU has some error(Segmentation fault).

from tensorflow-lite-object-detection-on-android-and-raspberry-pi.

Comments (4)

SamuelKollar avatar SamuelKollar commented on August 16, 2024 1

I specifically installed libedgetpu1-std_16.0tf2.13.1-2.ubuntu22.04_arm64.deb form the link above, as it is the standard runtime and it is specific for the OS that is running on my pi4, I also installed python 3.11 specific wheel from https://pypi.org/project/tensorflow/2.12.0/#files.

After that I just ran the command for TFLite_detection_webcam.py and it ran with no issues.

from tensorflow-lite-object-detection-on-android-and-raspberry-pi.

SamuelKollar avatar SamuelKollar commented on August 16, 2024

Hey, I get the same error did you find any fix for it?

from tensorflow-lite-object-detection-on-android-and-raspberry-pi.

SamuelKollar avatar SamuelKollar commented on August 16, 2024

Resolved this issue, I just installed the Edge TPU runtime library from https://github.com/feranick/libedgetpu/releases/tag/v16.0TF2.13.1-2 for the correct version of my RaspberryPi OS and it resolved the issue.

from tensorflow-lite-object-detection-on-android-and-raspberry-pi.

sangyo1 avatar sangyo1 commented on August 16, 2024

Resolved this issue, I just installed the Edge TPU runtime library from https://github.com/feranick/libedgetpu/releases/tag/v16.0TF2.13.1-2 for the correct version of my RaspberryPi OS and it resolved the issue.

Could you tell me more specific?
libedgetpu-dev_16.0tf2.13.1-2.bookworm_arm64.deb
I download above file in my rapsberry pi, and sudo dpkg -i the package.
I ran python3 TFLite_detection_webcam.py --modeldir=Sample_TFLite_model --edgetpu
I still get the same error message.
Do you have any link that how to solve this problem?

from tensorflow-lite-object-detection-on-android-and-raspberry-pi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.