• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
ModalAI Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
    • Register
    • Login

    Tflight server multiple model

    VOXL 2
    2
    3
    339
    Loading More Posts
    • 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.
    • T
      Tamas Pal 0
      last edited by 3 Feb 2023, 07:02

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

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User
        last edited by 3 Feb 2023, 17:12

        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

        T 1 Reply Last reply 27 Feb 2023, 06:30 Reply Quote 0
        • T
          Tamas Pal 0 @Guest
          last edited by 27 Feb 2023, 06:30

          @Matt-Turi Thanks !!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB | Contributors