No detections when running custom YOLOv8 model on voxl-tflite-server
-
Hello,
I am trying to run a custom YOLOv8 model on the voxl-tflite-server. The model detects ships and the
yolov8_labels.txtfile only contains oneshipclass. However, when I run the tflite server and view it onvoxl-portalI 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 ranvoxl-inspect-detectionsbut 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 invoxl-inspect-detectionsjust fine.If it helps, I used this command to convert the YOLOv8 model to the tflite format:
yolo export model=best.pt format=tfliteI 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!