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

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Compute & Autopilot
  3. VOXL 2
  4. Tflight server multiple model

Tflight server multiple model

Scheduled Pinned Locked Moved VOXL 2
3 Posts 2 Posters 660 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.
  • Tamas Pal 0T Offline
    Tamas Pal 0T Offline
    Tamas Pal 0
    Regular
    wrote on last edited by
    #1

    Please share the configuration file (voxl-tflite-server.conf) to run multiple models together

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

      Hey @Tamas-Pal-0,

      Have you read through the docs here: https://docs.modalai.com/voxl-tflite-server/#running-multiple-models?

      Basically, you start an instance of the tflite-server, then re-edit the config file and start the next instance...and so on.

      Here is an example of what the first instance's config file could be:

      /**
      {
              "skip_n_frames":        0,
              "model":        "/usr/bin/dnn/yolov5_float16_quant.tflite",
              "input_pipe":   "/run/mpa/stereo/",
              "delegate":     "gpu",
              "allow_multiple":       true,
              "output_pipe_prefix":   "yolo"
      }
      

      After the first model is running, I edited the config to this for second instance:

      {
              "skip_n_frames":        0,
              "model":        "/usr/bin/dnn/fastdepth_float16_quant.tflite",
              "input_pipe":   "/run/mpa/stereo/",
              "delegate":     "gpu",
              "allow_multiple":       true,
              "output_pipe_prefix":   "fastdepth"
      }
      
      

      The, I started up another tflite-server via the cmd line.
      Output of both running:
      fb2469b0-1c66-4112-8450-6bb05a6ffc4c-image.png

      Tamas Pal 0T 1 Reply Last reply
      0
      • ? A Former User

        Hey @Tamas-Pal-0,

        Have you read through the docs here: https://docs.modalai.com/voxl-tflite-server/#running-multiple-models?

        Basically, you start an instance of the tflite-server, then re-edit the config file and start the next instance...and so on.

        Here is an example of what the first instance's config file could be:

        /**
        {
                "skip_n_frames":        0,
                "model":        "/usr/bin/dnn/yolov5_float16_quant.tflite",
                "input_pipe":   "/run/mpa/stereo/",
                "delegate":     "gpu",
                "allow_multiple":       true,
                "output_pipe_prefix":   "yolo"
        }
        

        After the first model is running, I edited the config to this for second instance:

        {
                "skip_n_frames":        0,
                "model":        "/usr/bin/dnn/fastdepth_float16_quant.tflite",
                "input_pipe":   "/run/mpa/stereo/",
                "delegate":     "gpu",
                "allow_multiple":       true,
                "output_pipe_prefix":   "fastdepth"
        }
        
        

        The, I started up another tflite-server via the cmd line.
        Output of both running:
        fb2469b0-1c66-4112-8450-6bb05a6ffc4c-image.png

        Tamas Pal 0T Offline
        Tamas Pal 0T Offline
        Tamas Pal 0
        Regular
        wrote on last edited by
        #3

        @Matt-Turi 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