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

    No detections when running custom YOLOv8 model on voxl-tflite-server

    VOXL 2
    1
    1
    12
    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.
    • S
      svempati
      last edited by svempati

      Hello,

      I am trying to run a custom YOLOv8 model on the voxl-tflite-server. The model detects ships and the yolov8_labels.txt file only contains one ship class. However, when I run the tflite server and view it on voxl-portal I can see the video feed, but cannot see any bounding box detections even when the target is in the camera frame.
      I tried another variation for the labels file by having the class index and label name like this: 0 ship, but that doesn't work either.
      I also ran voxl-inspect-detections but it doesn't show any detections there.

      When I tested the default yolov5 and yolov8 models on voxl-tflite-server, it displays the bounding boxes and shows the list of detections in voxl-inspect-detections just fine.

      If it helps, I used this command to convert the YOLOv8 model to the tflite format:

      yolo export model=best.pt format=tflite
      

      I use the quantized 16 bit tflite model named yolov8_best_float16.tflite.

      This is how I set up the config file /etc/modalai/voxl-tflite-server.conf:

      {
      "skip_n_frames":	0,
      "model":	"/usr/bin/dnn/yolov8_best_float16.tflite",
      "input_pipe":	"/run/mpa/front_small_color/",
      "delegate":	"gpu",
      "requires_labels":	true,
      "labels":	"/usr/bin/dnn/yolov8_labels.txt",
      "allow_multiple":	false,
      "output_pipe_prefix":	"yolov8"
      }
      

      Is there anything I missed that is leading to no detections on the voxl-tflite-server?

      I would appreciate any help!

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