Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. voxl-tflite-server abort

voxl-tflite-server abort

Scheduled Pinned Locked Moved Ask your questions right here!
11 Posts 2 Posters 2.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Isabella YuI Offline
    Isabella YuI Offline
    Isabella Yu
    Contributor
    wrote on last edited by
    #1

    I'm trying to run voxl-tflite-server on an m500, but when I run the command, this is the output:

    
    =================================================================
    skip_n_frames:                    5
    =================================================================
    =================================================================
    model:                            /usr/bin/dnn/ssdlite_mobilenet_v2_coco.tflite
    =================================================================
    =================================================================
    input_pipe:                       /run/mpa/hires/
    =================================================================
    
    ------VOXL TFLite Server------
    
    Aborted
    

    I tried running voxl-configure-tflite again, but same result. My configuration file from /etc/modalai/voxl-tflite-server.conf looks like this:

    /**
     * This file contains configuration that's specific to voxl-tflite-server.
     *
     * skip_n_frames - how many frames to skip between processed frames. For 30hz
     *                   input frame rate, we recommend skipping 5 frame resulting
     *                   in 5hz model output.
     * model         - which model to use. Currently support mobilenet for
     *                   object detection or midas for monocular depth
     * input_pipe    - which camera to use (tracking or hires).
     */
    {
            "skip_n_frames":        5,
            "model":        "/usr/bin/dnn/ssdlite_mobilenet_v2_coco.tflite",
            "input_pipe":   "/run/mpa/hires/"
    
    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi @Isabella-Yu,

      Could please share the output of running voxl-version and voxl-inspect-services -v? It would also be good to know if the voxl-tflite-server code has been modified in any way.

      Isabella YuI 1 Reply Last reply
      0
      • ? A Former User

        Hi @Isabella-Yu,

        Could please share the output of running voxl-version and voxl-inspect-services -v? It would also be good to know if the voxl-tflite-server code has been modified in any way.

        Isabella YuI Offline
        Isabella YuI Offline
        Isabella Yu
        Contributor
        wrote on last edited by
        #3

        @Matt-Turi
        Here's the output of voxl-version

        cat: /etc/modalai/voxl-software-bundle-version.txt: No such file or directory
        --------------------------------------------------------------------------------
        system-image:    ModalAI 3.3.0 BUILDER: ekatzfey BUILD_TIME: 2021-06-06_19:28
        kernel:          #1 SMP PREEMPT Sun Jun 6 19:41:01 UTC 2021 3.18.71-perf
        factory-bundle:  1.0.1 (Yocto installation)
        --------------------------------------------------------------------------------
        architecture:    aarch64
        processor:       apq8096
        os:              GNU/Linux
        --------------------------------------------------------------------------------
        voxl-suite:
        Package: voxl-suite
        Version: 0.5.0
        Depends: libjpeg_turbo (>= 9.0.4), libmodal_exposure (>= 0.0.2), libmodal_json (>= 0.3.6), libmodal_pipe (>= 2.1.1), librc_math (>= 1.1.5), libvoxl_cutils (>= 0.0.2), libvoxl_io (>= 0.5.4), mavlink-camera-manager (>= 0.0.2), mongoose (>= 7.3.0), opencv (>= 4.5.2-2), openmp (>= 10.0.2), voxl-camera-calibration (>= 0.1.1), voxl-camera-server (>= 0.8.1), voxl-cpu-monitor (>= 0.2.0), voxl-dfs-server (>= 0.2.2), voxl-docker-support (>= 1.1.3), voxl-gphoto2 (>= 0.0.5), voxl-imu-server (>= 0.9.1), voxl-mavlink (>= 0.0.2), voxl-modem (>= 0.12.0), voxl-mpa-tools (>= 0.3.6), voxl-nodes (>= 0.2.0), voxl-portal (>= 0.1.2), voxl-qvio-server (>= 0.3.4), voxl-streamer (>= 0.2.6), voxl-tag-detector (>= 0.0.2), voxl-tflite (>= 2.2.3), voxl-tflite-server (>= 0.1.5), voxl-utils (>= 0.8.4), voxl-vision-px4 (>= 0.9.5), voxl-vpn (>= 0.0.3)
        Status: install user installed
        Architecture: all
        Installed-Time: 2166
        

        Here's the output of `voxl-inspect-services -v"

         Service Name          |  Version  |  Enabled  |   Running   |  CPU Usage
        ----------------------------------------------------------------------------
         docker-autorun        |    1.1.3  |  Enabled  | Not Running | Not Running
         docker-daemon         |    1.1.3  |  Enabled  |   Running   |     1.0
         modallink-relink      |   0.12.0  | Disabled  | Not Running | Not Running
         voxl-camera-server    |    0.8.1  |  Enabled  |   Running   |     7.1
         voxl-cpu-monitor      |    0.2.0  |  Enabled  |   Running   |     0.0
         voxl-dfs-server       |    0.2.2  |  Enabled  |   Running   |     8.0
         voxl-drogon-detector  |    0.3.4  | Disabled  | Not Running | Not Running
         voxl-imu-server       |    0.9.1  |  Enabled  |   Running   |     4.4
         voxl-modem            |   0.12.0  | Disabled  | Not Running | Not Running
         voxl-portal           |    0.1.2  |  Enabled  | Not Running | Not Running
         voxl-qvio-server      |    0.3.4  |  Enabled  |   Running   |     0.0
         voxl-streamer         |    0.2.6  | Disabled  | Not Running | Not Running
         voxl-tag-detector     |    0.0.2  |  Enabled  | Not Running | Not Running
         voxl-tflite-server    |    0.8.5  |  Enabled  | Not Running | Not Running
         voxl-time-sync        |    0.9.5  | Disabled  | Not Running | Not Running
         voxl-vision-px4       |    0.8.5  |  Enabled  |   Running   |     4.0
         voxl-wait-for-fs      |           |  Enabled  |  Completed  |  Completed
        
        
        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          It looks like you have a custom version of voxl-tflite-server running - voxl-inspect-services shows v0.8.5 and we are currently at v0.2.7. Is this correct?

          Isabella YuI 1 Reply Last reply
          0
          • ? A Former User

            It looks like you have a custom version of voxl-tflite-server running - voxl-inspect-services shows v0.8.5 and we are currently at v0.2.7. Is this correct?

            Isabella YuI Offline
            Isabella YuI Offline
            Isabella Yu
            Contributor
            wrote on last edited by
            #5

            @Matt-Turi I actually don't have a custom version running, so I don't know how that happened. I'll reinstall voxl-tflite-server from the voxl packages page and see if that fixes things

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              Please let me know if that resolves the issue!

              Isabella YuI 1 Reply Last reply
              0
              • ? A Former User

                Please let me know if that resolves the issue!

                Isabella YuI Offline
                Isabella YuI Offline
                Isabella Yu
                Contributor
                wrote on last edited by Isabella Yu
                #7

                @Matt-Turi I downloaded voxl-tflite-server_0.1.8.ipk from http://voxl-packages.modalai.com/stable/, pushed it to the drone via adb, and ran opkg install voxl-tflite-server_0.1.8.ipk. However, it seems that 0.1.8 is already installed:

                 * opkg_prepare_file_for_install: Refusing to load file 'voxl-tflite-server_0.1.8.ipk' as it matches the installed version of voxl-tflite-server (0.1.8).
                

                I tried installing version 0.2.0 from dev instead, but it requires upgrading libmodal_pipe, libmodal_json, and voxl-opencv and I don't really want to do an upgrade right now in fear of breaking things 😞

                1 Reply Last reply
                0
                • ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #8

                  To force a fresh installation when it is the same version you have loaded, you can give opkg the flag: --force-reinstall to reinstall without needing to upgrade. The full command then would be:

                  opkg install voxl-tflite-server_0.1.8.ipk --force-reinstall

                  Isabella YuI 1 Reply Last reply
                  0
                  • ? A Former User

                    To force a fresh installation when it is the same version you have loaded, you can give opkg the flag: --force-reinstall to reinstall without needing to upgrade. The full command then would be:

                    opkg install voxl-tflite-server_0.1.8.ipk --force-reinstall

                    Isabella YuI Offline
                    Isabella YuI Offline
                    Isabella Yu
                    Contributor
                    wrote on last edited by
                    #9

                    @Matt-Turi that did reinstall voxl-tflite-server 0.1.8, but still having the abort issue.
                    voxl-version gives the same output, and voxl-inspect-services -v says the version of voxl-tflite-server is 0.1.8 as expected

                    1 Reply Last reply
                    0
                    • ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by
                      #10

                      @Isabella-Yu,

                      I flashed a VOXL with the 3.3.0 system image and installed voxl-tflite-server v0.1.8 but was unable to recreate the abort issue you are seeing. voxl-tflite-server is a very power-hungry application, and I have seen issues like this arise from a bad apm/power connection to the drone. If this is not the cause, it may be worth attempting to reflash your system after backing up any important files. The latest stable release for voxl is VOXL Platform 3.8.0-0.7.

                      Isabella YuI 1 Reply Last reply
                      1
                      • ? A Former User

                        @Isabella-Yu,

                        I flashed a VOXL with the 3.3.0 system image and installed voxl-tflite-server v0.1.8 but was unable to recreate the abort issue you are seeing. voxl-tflite-server is a very power-hungry application, and I have seen issues like this arise from a bad apm/power connection to the drone. If this is not the cause, it may be worth attempting to reflash your system after backing up any important files. The latest stable release for voxl is VOXL Platform 3.8.0-0.7.

                        Isabella YuI Offline
                        Isabella YuI Offline
                        Isabella Yu
                        Contributor
                        wrote on last edited by
                        #11

                        @Matt-Turi Yep, turns out switching to wall power fixed it. My battery power was too low. Thanks!

                        1 Reply Last reply
                        0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        ModalAI
                        Categories Recent Tags ModalAI.com Docs
                        © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups