Git Product home page Git Product logo

qengineering / tensorflow_lite_segmentation_jetson-nano Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 1.0 11.79 MB

TensorFlow Lite segmentation on a Jetson Nano at 11 FPS

Home Page: https://qengineering.eu/install-tensorflow-2-lite-on-raspberry-pi-4.html

License: BSD 3-Clause "New" or "Revised" License

C++ 100.00%
jetson-nano cpp aarch64 tensorflow-lite tensorflow-examples gpu-delegate gpu-acceleration unet unet-segmentation unet-tensorflow

tensorflow_lite_segmentation_jetson-nano's Introduction

TensorFlow_Lite_Segmentation_Jetson-Nano

output image

TensorFlow Lite Unet running on a Jetson Nano

License

A fast C++ implementation of TensorFlow Lite Unet on a Jetson Nano.
Once overclocked to 2015 MHz, the app runs at 11 FPS.
Special made for a Jetson Nano see Q-engineering deep learning examples


Papers: https://arxiv.org/abs/1606.00915
Training set: VOC2017
Size: 257x257


Benchmark.

CPU 2015 MHz GPU 2015 MHz CPU 1479 MHz GPU 1479 MHZ RPi 4 64os 1950 MHz
11 FPS 9.1 FPS 9 FPS 8.3 FPS 7.2 FPS

Dependencies.

To run the application, you have to:


Installing the app.

To extract and run the network in Code::Blocks
$ mkdir MyDir
$ cd MyDir
$ wget https://github.com/Qengineering/TensorFlow_Lite_Segmentation_Jetson-Nano/archive/refs/heads/main.zip
$ unzip -j master.zip
Remove master.zip, LICENSE and README.md as they are no longer needed.
$ rm master.zip
$ rm README.md

Your MyDir folder must now look like this:
cat.jpg.mp4
deeplabv3_257_mv_gpu.tflite
TestUnet.cpb
Unet.cpp


Running the app.

Run TestTensorFlow_Lite.cpb with Code::Blocks.
You may need to adapt the specified library locations in TestTensorFlow_Lite.cpb to match your directory structure.

With the #define GPU_DELEGATE uncommented, the TensorFlow Lite will deploy GPU delegates, if you have, of course, the appropriate libraries compiled by bazel. Install GPU delegates

See the RPi 4 movie at: https://www.youtube.com/watch?v=Kh9DLMgCIIE


paypal

tensorflow_lite_segmentation_jetson-nano's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

islamfadl

tensorflow_lite_segmentation_jetson-nano's Issues

GPU DELEGATE

Hi,
If I want to use the version without GPU, where or which code should I uncommented #define GPU_DELEGATE ?

How to use this package with Jetson-Nano-Ubuntu-20-image

Hello,

First of all, thank you very much for all your support in Jetson Nano and AI algorithms.

I have installed your Jetson-Nano-Ubuntu-20-image (9Gb image) on my Jetson Nano. I tried to run this algorithm (Tensorflow_lite_segmentation_Jetson-Nano) on this image, but I have a few problems.

First of all, considering the Ubuntu image has already installed tensorflow, opencv, etc. I am a little bit confused about what should I install in this image. Should I install all TensorFlow Lite frameworks (https://qengineering.eu/install-tensorflow-2-lite-on-jetson-nano.html) ?

I have tried the step above, but I get an invalid ld reference to -ltensorflow.

If I do not install the tensorflow lite framework, and use the one install with Ubuntu image, I have errors related to missing files and references, such as builtin_op_data.h. This file is really not found on tensorflow installed with the Ubuntu image. What should I do?

Please, if you can help me on that, I really appreciate your support.

Thanks.

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.