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 Mini
  4. Issues with custom Yolov8

Issues with custom Yolov8

Scheduled Pinned Locked Moved VOXL 2 Mini
yolov8deep learningvoxl 2 minicustom models
10 Posts 2 Posters 883 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
    jeremyrbrown5
    Contributor
    wrote on last edited by
    #1

    Hello

    We are training a yolov8 model to recognize rasberry pis. We are able to create the .tflite, test it using the predict function with 100% detection and high certainty, and push it to the Voxl 2 mini. However, no matter how we configure the voxl-tflite-server, we can't see it replicated in the voxl portal.

    Some notes about our setup

    For training we are using 75 images. 50 are for training, 15 are for valid, and 10 are for test

    Our model-train.yaml is set to 30 epochs, 5 batchs, and 2 workers

    our custom labels.txt for the tflite server is just 0 RasPi

    we have used both the tracking_front and the Hires_misp_color cameras, with no such luck.

    Inside of the deep learning documentation there is a section about the initialize_model_settings function in the main file. We cannot find this function on the voxl 2 mini. If the steps under 'Implementing your model in voxl-tflite-server' and 'Writing the model class' are critical to our success, we would really appreciate the function/file locations for the voxl 2 mini.

    Thank you

    1 Reply Last reply
    0
    • Zachary Lowell 0Z Offline
      Zachary Lowell 0Z Offline
      Zachary Lowell 0
      ModalAI Team
      wrote on last edited by
      #2

      @jeremyrbrown5 I will plan on testing this out tomorrow - how are you validatign that it is detecting the rpis? Are you running voxl-inspect-detections tflite_data -a?

      J 1 Reply Last reply
      0
      • Zachary Lowell 0Z Zachary Lowell 0

        @jeremyrbrown5 I will plan on testing this out tomorrow - how are you validatign that it is detecting the rpis? Are you running voxl-inspect-detections tflite_data -a?

        J Offline
        J Offline
        jeremyrbrown5
        Contributor
        wrote on last edited by
        #3

        @Zachary-Lowell-0 we are using the yolo predict function inside the voxl-docker. I didn't know about voxl-inspect-detections, so I'll try that.

        1 Reply Last reply
        0
        • Zachary Lowell 0Z Offline
          Zachary Lowell 0Z Offline
          Zachary Lowell 0
          ModalAI Team
          wrote on last edited by
          #4

          @jeremyrbrown5 said in Issues with custom Yolov8:

          @Zachary-Lowell-0 we are using the yolo predict function inside the voxl-docker. I didn't know about voxl-inspect-detections, so I'll try that.

          Reply

          If you are running your model directly on voxl-tflite-server then you can leverage the voxl sdk to detect any outputs from the model. That SDK is what is showing the image on voxl-portal. My guess is since this images arent showing on voxl-portal then you are having an issue during startup.

          Can you run voxl-tflite-server directly on the command line and paste the output in here?

          J 1 Reply Last reply
          0
          • Zachary Lowell 0Z Offline
            Zachary Lowell 0Z Offline
            Zachary Lowell 0
            ModalAI Team
            wrote on last edited by
            #5

            @jeremyrbrown5 if you paste your model and upload it here i can download it and help troubleshoot the issue you are running into

            1 Reply Last reply
            0
            • Zachary Lowell 0Z Offline
              Zachary Lowell 0Z Offline
              Zachary Lowell 0
              ModalAI Team
              wrote on last edited by
              #6

              https://gitlab.com/voxl-public/support/voxl-train-yolov8

              I am assuming you followed this instruction set for training your model?

              J 1 Reply Last reply
              0
              • Zachary Lowell 0Z Zachary Lowell 0

                @jeremyrbrown5 said in Issues with custom Yolov8:

                @Zachary-Lowell-0 we are using the yolo predict function inside the voxl-docker. I didn't know about voxl-inspect-detections, so I'll try that.

                Reply

                If you are running your model directly on voxl-tflite-server then you can leverage the voxl sdk to detect any outputs from the model. That SDK is what is showing the image on voxl-portal. My guess is since this images arent showing on voxl-portal then you are having an issue during startup.

                Can you run voxl-tflite-server directly on the command line and paste the output in here?

                J Offline
                J Offline
                jeremyrbrown5
                Contributor
                wrote on last edited by
                #7

                @Zachary-Lowell-0

                stinger (D0013):/$ voxl-tflite0-server
                bash: voxl-tflite0-server: command not found
                stinger (D0013):/$ voxl-tflite-server

                skip_n_frames: 5

                model: /usr/bin/dnn/best_float16.tflite

                input_pipe: /run/mpa/hires_misp_color/

                delegate: gpu

                allow_multiple: false

                output_pipe_prefix: mobilenet

                existing instance of voxl-tflite-server found, attempting to stop it
                WARNING: Unknown model type provided! Defaulting post-process to object detection.
                INFO: Created TensorFlow Lite delegate for GPU.

                1 Reply Last reply
                0
                • Zachary Lowell 0Z Zachary Lowell 0

                  https://gitlab.com/voxl-public/support/voxl-train-yolov8

                  I am assuming you followed this instruction set for training your model?

                  J Offline
                  J Offline
                  jeremyrbrown5
                  Contributor
                  wrote on last edited by
                  #8

                  @Zachary-Lowell-0 Yes I have been using the guides linked on the modalai website

                  J 1 Reply Last reply
                  0
                  • J jeremyrbrown5

                    @Zachary-Lowell-0 Yes I have been using the guides linked on the modalai website

                    J Offline
                    J Offline
                    jeremyrbrown5
                    Contributor
                    wrote on last edited by
                    #9

                    @jeremyrbrown5 here is a link to our current model .tflite file

                    J 1 Reply Last reply
                    0
                    • J jeremyrbrown5

                      @jeremyrbrown5 here is a link to our current model .tflite file

                      J Offline
                      J Offline
                      jeremyrbrown5
                      Contributor
                      wrote on last edited by
                      #10

                      @jeremyrbrown5 we figured it out, we just changed the name of the model to yolov8n_float16.tflite. Pretty spot on now!

                      1 Reply Last reply
                      1

                      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