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

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Dev Drones
  3. Sentinel
  4. TfLite - Multiple Models Simultaneously

TfLite - Multiple Models Simultaneously

Scheduled Pinned Locked Moved Sentinel
1 Posts 1 Posters 372 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.
  • J Offline
    J Offline
    jasote
    wrote on last edited by
    #1

    Hello all,

    I am trying to deploy more than 1 deep learning models, mainly to understand how things work. So, i.e. I am trying to deploy both mobilenet and deeplab.
    I do follow the docs (https://docs.modalai.com/voxl-tflite-server/), however I am unable to make both of models to work in the same time.

    These are my approaches:
    Approach 1:
    Changed the file /etc/modalai/voxl-tflite-server.conf and set
    'allow_multiple': true and changed the output_pipe_prefix.
    I run the command voxl-confure-tflite. I selected:
    No factory reset,
    enable voxl-tfliteserver and
    camera front stereo and
    selected the mobilenet.

    The service is running and I can see it through portal.

    Consequently, I edited again the /etc/modalai/voxl-tflite-server.conf, to change the prefix. Did the same, but selected the deeplab model. Regarding cameras, I tried both the same (stereo front) and different (hires,tracking).
    The deeplab is running, by replacing the mobilenet, every time.

    Approach 2:
    I created distinct /etc/modalai/voxl-tflite-server.conf files, named
    /etc/modalai/voxl-tflite-server-mobilenet.conf and /etc/modalai/voxl-tflite-server-deeplab.conf,
    each one with relevant configurations (allow multiple, different prefix, correct model path for each model, and input_pipe /run/mpa/tracking and /run/mpa/stereo/ accordingly).

    I created a service for each, by copying and altering the file /etc/systemd/system/voxl-tflite-server.service, by adding the corresponding path to each conf.
    Changed the description, the PIDFile (i.e. /run/voxl-tflite-server-mobilenet.pid) and the ExecStart line to point the corresponding file
    (i.e. /bin/bach -c "/usr/bin/voxl-tflite-server --config /etc/modalai/voxl-tflite-server-mobilenet.conf").

    I enabled and started the service. Same for both.
    Still they are not working simultaneously. To be precise, although I was able to run via this way a service, now they are failing no matter what I do.

    Our goal is to finally run multiple models simultaneously both pre-installed and custom models.

    Could someone please help me on how to make it run multiple models, what I am doing wrong, or what is the correct actions?

    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

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