ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. sansoy
    S
    • Profile
    • Following 0
    • Followers 1
    • Topics 3
    • Posts 39
    • Best 2
    • Controversial 0
    • Groups 0

    sansoy

    @sansoy

    2
    Reputation
    19
    Profile views
    39
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    sansoy Unfollow Follow

    Best posts made by sansoy

    • Can anyone recommend a Tflite Colab Notebook for VOXL2 Training

      I’m a total loss with making my Tfiite models work on the VOXL2.

      I’ve followed every thread.

      I’ve successfully trained models using the recommended Tensorflow, i’ve quantized it down to 16 float.

      i can successfully run these on my linux box, my macbook pro, a raspberrypi and the nVidia Jetson Nano.

      But when uploaded to VOXL2 i do get video but absolutely no detection what so ever.

      Also per https://docs.modalai.com/voxl-tflite-server/ i followed the instructions for post training quantization on
      my frozen graph and on my saved models.

      I used Netron to find the input/output parameters.

      I also successfully converted a YOLOv8 model into a tFlite model and ran object detection perfectly on all the different platforms except for the VOXL2.

      Here's a link to one of my colab notebooks i've used to train an object detection model.
      https://colab.research.google.com/drive/1QdgpSl63OSQdLTnFwOyP8dxLQ7W0HtmW?usp=sharing

      posted in Ask your questions right here!
      S
      sansoy
    • RE: tFlite not working with Hires Camera

      @Moderator Ah ok. these are working!

      just for everybody else's edification
      instead of just typing "hires" you need to type one of the following listed with
      voxl-list-pipes

      voxl2:/$ voxl-list-pipes
      hires_color
      hires_grey
      hires_large_color
      hires_large_encoded
      hires_large_grey
      hires_small_color
      hires_small_encoded
      hires_small_grey
      tflite
      tflite_data

      posted in Support Request Format for Best Results
      S
      sansoy

    Latest posts made by sansoy

    • RE: qvio error: IMU_MISSING STALLED

      @tom thanks tom!

      with voxl-configure-sku -w
      I assumed the option to select is
      6) px4-autonomy-dev-kit

      i then ran voxl-configure-mpa
      saw a few errors but the qvio is working now with no errors.

      Sabri

      posted in Qualcomm Flight RB5 5G Drone
      S
      sansoy
    • RE: qvio error: IMU_MISSING STALLED

      @tom i ran
      journalctl -u voxl-qvio-server
      and saw this message as the extrinsics.conf file doesnot exist

      failed to find extrinsics from imu_px4 to tracking in /etc/modalai/extrinsics.conf

      posted in Qualcomm Flight RB5 5G Drone
      S
      sansoy
    • RE: qvio error: IMU_MISSING STALLED

      @tom Screenshot from 2024-02-14 15-48-11.png i did that and tried restarting the voxl-qvio-server but it wont start.

      posted in Qualcomm Flight RB5 5G Drone
      S
      sansoy
    • voxl-inspect-qvio error: IMU_MISSING

      Screenshot from 2024-02-14 08-21-10.png

      i've followed all instructions from calibrating the tracking camera
      https://docs.modalai.com/calibrate-cameras

      to
      https://docs.modalai.com/voxl-m500-user-guide-using-vio

      i've configured every setting with voxl-configure-qvio and still get the following error

      voxl2:/$ voxl-inspect-qvio
      waiting for server

      dt(ms) | T_imu_wrt_vio (m) |Roll Pitch Yaw (deg)|features|quality| state| error_codes |
      30.9 | 0.00 0.00 0.00| 0.0 -0.0 0.0| 0 | -1% | FAIL | IMU_MISSING STALLED

      any ideas?

      posted in Ask your questions right here!
      S
      sansoy
    • RE: qvio error: IMU_MISSING STALLED

      @bgaudel Did you ever get this resolved. I'm experiencing the same thing with IMU_MISSING STALLED

      posted in Qualcomm Flight RB5 5G Drone
      S
      sansoy
    • RE: no data while querying /run/mpa/tflight_data/request using Python

      @thomas I already wrote a c helper function that uses libmodal-pipe to pipe tflite_data that my python script reads in realtime. it works well
      per your message " small C++ helper program to take in images from the camera". how would i modify my c helper to use libmodal-pipe to stream data from one of the cameras?

      posted in Ask your questions right here!
      S
      sansoy
    • RE: no data while querying /run/mpa/tflight_data/request using Python

      @thomas i'm not using voxl-tflite-server. On my voxl2 i installed the latest version of YOLOv8 from Ultralytics https://docs.ultralytics.com/ and it works well when i run inference on local images. i wanted to test just using a local python script that streams video frames from the hires_small_color camera and runs inference.

      posted in Ask your questions right here!
      S
      sansoy
    • RE: no data while querying /run/mpa/tflight_data/request using Python

      @thomas Hey thomas, we've got the handshaking between your C helper program and our python script working well. i successfully loaded Yolov8 on the voxl and it works really well on images. Was wondering if we could open the camera pipe the same as the tflite_data pipe to run inference on the frames in realtime. i noticed in your /data/web_root/index.html that you are using websockets for serving the videos in the browsers. is this the better route?

      posted in Ask your questions right here!
      S
      sansoy
    • RE: no data while querying /run/mpa/tflight_data/request using Python

      @thomas its all working now.

      had to reinstall the latest sdk. I'm guessing make install is a no-no. so just did a make and ran the executable.

      voxl2:/libmodal-pipe/build/examples(master)$ ./modal-tflite_data-client
      channel 0 connected to server
      Bounding Box Coordinates:
      score: 0.558105, x_min: 406.000000, y_min: 417.000000, x_max: 535.000000, y_max: 472.000000
      Bounding Box Coordinates:
      score: 0.429199, x_min: 427.000000, y_min: 370.000000, x_max: 573.000000, y_max: 426.000000
      Bounding Box Coordinates:
      score: 0.617676, x_min: 498.000000, y_min: 300.000000, x_max: 655.000000, y_max: 358.000000
      Bounding Box Coordinates:
      score: 0.416748, x_min: 505.000000, y_min: 302.000000, x_max: 659.000000, y_max: 359.000000
      Bounding Box Coordinates:
      score: 0.739258, x_min: 506.000000, y_min: 304.000000, x_max: 667.000000, y_max: 364.000000
      Bounding Box Coordinates:
      score: 0.493652, x_min: 4.000000, y_min: -1.000000, x_max: 781.000000, y_max: 109.000000
      Bounding Box Coordinates:
      score: 0.547852, x_min: 509.000000, y_min: 306.000000, x_max: 664.000000, y_max: 363.000000
      Bounding Box Coordinates:
      score: 0.640625, x_min: 505.000000, y_min: 310.000000, x_max: 660.000000, y_max: 369.000000

      posted in Ask your questions right here!
      S
      sansoy
    • RE: no data while querying /run/mpa/tflight_data/request using Python

      @thomas from my syslog

      Jan 23 00:46:51 m0054 voxl-camera-server[4202]: /usr/bin/voxl-camera-server: symbol lookup error: /usr/bin/voxl-camera-server: undefined symbol: pipe_validate_mavlin
      k_message_t
      Jan 23 00:46:51 m0054 systemd[1]: voxl-camera-server.service: Main process exited, code=exited, status=127/n/a
      Jan 23 00:46:51 m0054 systemd[1]: voxl-camera-server.service: Failed with result 'exit-code'.
      Jan 23 00:46:51 m0054 voxl-px4[1656]: ERROR [muorb] SLPI: Failed to parse version request response packet!
      Jan 23 00:46:53 m0054 voxl-px4[1656]: message repeated 534 times: [ ERROR [muorb] SLPI: Failed to parse version request response packet!]
      Jan 23 00:46:53 m0054 systemd[1]: voxl-camera-server.service: Service hold-off time over, scheduling restart.
      Jan 23 00:46:53 m0054 systemd[1]: voxl-camera-server.service: Scheduled restart job, restart counter is at 1.
      Jan 23 00:46:53 m0054 systemd[1]: Stopped voxl-camera-server.
      Jan 23 00:46:53 m0054 systemd[1]: Started voxl-camera-server.
      Jan 23 00:46:53 m0054 voxl-camera-server[4226]: /usr/bin/voxl-camera-server: symbol lookup error: /usr/bin/voxl-camera-server: undefined symbol: pipe_validate_mavlin
      k_message_t
      Jan 23 00:46:53 m0054 systemd[1]: voxl-camera-server.service: Main process exited, code=exited, status=127/n/a
      Jan 23 00:46:53 m0054 systemd[1]: voxl-camera-server.service: Failed with result 'exit-code'.
      Jan 23 00:46:53 m0054 voxl-px4[1656]: ERROR [muorb] SLPI: Failed to parse version request response packet!

      Actually several enabled services wont restart
      Service Name | Enabled | Running | CPU Usage

      docker-autorun | Disabled | Not Running |
      modallink-relink | Disabled | Not Running |
      voxl-camera-server | Enabled | Not Running |
      voxl-cpu-monitor | Enabled | Not Running |
      voxl-dfs-server | Disabled | Not Running |
      voxl-feature-tracker | Disabled | Not Running |
      voxl-flow-server | Disabled | Not Running |
      voxl-imu-server | Enabled | Running | 0.0%
      voxl-lepton-server | Enabled | Not Running |
      voxl-mavcam-manager | Disabled | Not Running |
      voxl-mavlink-server | Enabled | Not Running |
      voxl-modem | Disabled | Not Running |
      voxl-neopixel-manager | Disabled | Not Running |
      voxl-portal | Enabled | Not Running |
      voxl-px4-imu-server | Disabled | Not Running |
      voxl-px4 | Enabled | Running | 32.9%
      voxl-qvio-server | Disabled | Not Running |
      voxl-rangefinder-server | Disabled | Not Running |
      voxl-remote-id | Disabled | Not Running |
      voxl-softap | Disabled | Not Running |
      voxl-static-ip | Disabled | Not Running |
      voxl-stitcher | Disabled | Not Running |
      voxl-streamer | Disabled | Not Running |
      voxl-tag-detector | Disabled | Not Running |
      voxl-tflite-server | Enabled | Running | 0.8%
      voxl-time-sync | Disabled | Not Running |
      voxl-uvc-server | Disabled | Not Running |
      voxl-vision-hub | Enabled | Not Running |
      voxl-wait-for-fs | Enabled | Completed |
      voxl-wfb-rx-video | Disabled | Not Running |
      voxl-wfb-rx | Disabled | Not Running |
      voxl-wfb-tx-video | Disabled | Not Running |
      voxl-wfb-tx | Disabled | Not Running |
      voxl2:/$

      all i did was compile and make install my modal-tflite_data-client.c file

      posted in Ask your questions right here!
      S
      sansoy