Git Product home page Git Product logo

Comments (3)

Qengineering avatar Qengineering commented on September 23, 2024

@srevandro ,

I've checked one and another.

  • Best you install the TensorFlow Lite framework according to our guide on your Ubuntu 20 Jetson Nano.
  • Also the flatbuffers.
  • Install Code::Blocks as the project hasn't a CMake.txt file (yet). sudo apt-get install codeblocks
  • Download the example. git clone https://github.com/Qengineering/TensorFlow_Lite_Segmentation_Jetson-Nano.git
  • Make sure you have the downloaded TensorFlow directory renamed tensorflow. Otherwise you get missing header errors.
  • Remove the /home/jetson/tensorflow/bazel-bin/tensorflow/lite/delegates/gpu/libtensorflowlite_gpu_delegate.so from the linkage, as we don't use the delegates. It can be done with an text editor in the TestUnet.cbp file before opening the project.
    On my machine it compiles and played the video.

from tensorflow_lite_segmentation_jetson-nano.

srevandro avatar srevandro commented on September 23, 2024
  • missing

@Qengineering

Thanks for your reply.

I have done everything you told me. But, the only problem that I have doing this for Ubuntu 18.04/20.04, is the following message in Code:Blocks build messages:

File: ld
Message: cannot find -ltensorflow-lite / error: ld returned 1 exit status.

I have installed the tensorflow in the following directory:
/home/jetson/evandro/app/tensorflow

Do you have any idea how to solve this problem? I have seen some issues on Google, but I am not pretty sure it should work on Jetson Nano.

Thanks again for all your help.

from tensorflow_lite_segmentation_jetson-nano.

srevandro avatar srevandro commented on September 23, 2024

@Qengineering

I found the problem. In the Properties->Project Build Options->linker settings->Link libraries, you have inserted the libs directly:

  • libtensorflow-lite.a
  • libflatbuffers.a

I just found these 2 libs in the tensorflow directory and inserted the full path to them:
/home/jetson/evandro/app/tensorflow/tensorflow/lite/tools/make/gen/linux_aarch64/lib/libtensorflow-lite.a
/home/jetson/evandro/app/tensorflow/tensorflow/lite/tools/make/downloads/flatbuffers/build/libflatbuffers.a

YOU ARE THE BEST, MAN! Really thank you for all the support.

After experimentation with this Segmentation algorithm, I will move forward with the others algorithms on your GitHub.

Thanks.

from tensorflow_lite_segmentation_jetson-nano.

Related Issues (3)

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.