ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Philemon Benner
    • Profile
    • Following 0
    • Followers 0
    • Topics 26
    • Posts 117
    • Best 1
    • Controversial 0
    • Groups 0

    Philemon Benner

    @Philemon Benner

    1
    Reputation
    23
    Profile views
    117
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Philemon Benner Unfollow Follow

    Best posts made by Philemon Benner

    • RE: Upgrade Tensorflow Version tflite-server

      Update:
      So for anyone who is facing the same problems as me.

      1. If you want to train using tf2 you can't really take models form tf1 model zoo because tf2 feature extractors are not for the ones in tf1(even if tensorflow mentioned that you can use every tf1 model for later versions maybe outdated)
      2. So for tf1 Model Zoo go with tf1 1.15.1 for tf2 Model Zoo just take the newest tf version
      3. For tf2 take a ssd model from tf2 model zoo(ssd is only supported in export for tflite use)
      4. (Expected that you set up model zoo dir and installed all pip packages for them):
        4.1 go to models/research/object_detection
        4.2 .use export_tflite_ssd_graph.py
        4.3. use the code mentioned in the docs from modalai to make tflite model
        4.4 put the tflite model on the voxl
        4.5 cd to the dir where your_model.tflite is type:
      mv your_model.tflite /usr/bin/dnn/ssdlite_mobilenet_v2_coco.tflite
      

      Why renaming the model?
      Somewhere i Modal AI Code for tflite server theres a line that only take model with the name.
      If your not renaming it you will get a (Model is not supported Error).
      4.6 Replace the classes in the file beyond with your classes

      vi /usr/bin/dnn/coco_labels.txt
      

      4.7 Run tflite Server
      For me that worked with SSD MobileNet v2 320x320(don't get confused its actually 300x300 don't know why) from:
      https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/tf2_detection_zoo.md
      with the base model given there. Ill have to see if it really works after training.
      I will probably make a github repository in the Future when i have time featuring:
      +setting up tf2 and tf1 on your local machine with gpu
      +training
      +export tflite and put on voxl
      because it was such a pain in the ass to setup all this when not being familiar with machine learning, and poor documentation.

      posted in FAQs
      Philemon BennerP
      Philemon Benner

    Latest posts made by Philemon Benner

    • RE: Voxl 1 voxl-mavlink-server bus error

      @Philemon-Benner Seems like some else had the same issue but there was no further investigation on the problem. https://forum.modalai.com/topic/2125/voxl-mavlink-server-external-fc-bus-error?_=1688565579723

      posted in Software Development
      Philemon BennerP
      Philemon Benner
    • Voxl 1 voxl-mavlink-server bus error

      Hey,
      i am trying to move to new voxl-mavlink-server. After upgrading, when running voxl-mavlink-server i get the following error:
      Screenshot from 2023-07-05 15-44-55.png
      After that error the device goes offline, and i have to powercycle the Voxl in order to access it again. I configured voxl-mavlink-server with voxl-configure*. I am migrating from voxl-mavlink-server v0.3.0 wich runs perfectly fine, i also tried using a different Voxl but same issue persists.

      voxl-mavlink-server: v1.2.0
      libapq8096-io: 0.6.0
      system image: 3.8.0 / 4.0.0
      hw version: VOXL

      posted in Software Development
      Philemon BennerP
      Philemon Benner
    • Missing newest apq8096 and qrb5165 proprietary

      Hey,
      i want to upgrade voxl-cross to 2.5 with voxl-docker, but unfortunately new proprietary ipk and deb packages are missing in Modalai protected downloads.

      apq8096-proprietary_0.0.4.ipk
      qrb5165-proprietary_0.0.3_arm64.deb
      

      are they store somewhere different from the old location ?
      If not would be nice i you could add them.

      posted in Software Development
      Philemon BennerP
      Philemon Benner
    • RE: M0025-1 Hires Camera capture with opencv

      @Chad-Sweet what is the reason for using Gralloc allocator on apq8096 for buffer allocation instead of ION memory allocator used in the qrb5165 implementation ?

      posted in Ask your questions right here!
      Philemon BennerP
      Philemon Benner
    • RE: M0025-1 Hires Camera capture with opencv

      Thanks for the fast reply

      posted in Ask your questions right here!
      Philemon BennerP
      Philemon Benner
    • M0025-1 Hires Camera capture with opencv

      Hey,
      i want to integrate the https://docs.modalai.com/M0025/ Camera from you in my application. I'm currently using opencv to capture video frames.
      Is it required that i use the hal3 module used in https://gitlab.com/voxl-public/voxl-sdk/services/voxl-camera-server/-/tree/master/ ?
      If yes wich libraries do i have to link to my application in order to use the hal3 module ?
      And can i build these on my own or are these built alongside the system-image ?

      Platform: Voxl 1 ap8096

      posted in Ask your questions right here!
      Philemon BennerP
      Philemon Benner
    • RE: voxl-modem-start.sh issue

      @tom Now it's working again, but might be worth a look, it's important that it always works. Parsing seems fine:

      apq8096 detected...
      'v2'
      len: 2
      
      Initializing v2 modem...
      
      Waiting for ttyUSB2...
      ttyUSB2
      
      posted in Software Development
      Philemon BennerP
      Philemon Benner
    • voxl-modem-start.sh issue

      Hey,
      i'm currently trying to do something similiar to modallink_relink.py, but i need the return value of voxl-modem-start.sh and it should be blocking, so i wanted to directly run that instead of using:

      systemctl restart voxl-modem
      

      But when i'm running voxl-modem-start.sh from voxl terminal i get the following error:
      Screenshot from 2022-12-06 17-31-22.png

      the modem is configured and with the service file it works. I also tried playing around with the if conditions in voxl-modem-start.sh but without success.

      System Image: 3.8.0
      voxl-modem Version: 0.16.1

      posted in Software Development
      Philemon BennerP
      Philemon Benner
    • Fork Modal Pipe & Modal Json

      Hey,
      i am using modal pipe and modal json in my project as external project , but sadly the cmake install path is always /usr/lib64, so i wanted to ask if i am allowed to fork modal pipe and modal json and create a public gitlab project including these, where i only change the cmake files ?

      posted in FAQs
      Philemon BennerP
      Philemon Benner
    • RE: voxl-wifi softap issues

      Also a list of country codes conforming the (ISO/IEC 3166-1) of the hostapd.conf:
      Could be put into the print_usage:

      echo "List of available Country Codes: https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes"
      
      posted in Software Development
      Philemon BennerP
      Philemon Benner