damo-yolo models

Hi all,

I have HAOS on a rpi5 with hailo-8L. I am using frigate and I tried both yolov11n (15 ms inference time) and yolov11s (29 ms). I also downloaded damo-yolo L25 from model zoo but I get 0 detections, does it mean it is not supported from frigate or is there anything wrong with my configuration? Relevant part of my config file is attached,

thank you in advance

Cristiano

==============================

model:

width: 640

height: 640

input_tensor: nhwc

input_pixel_format: rgb

input_dtype: int

model_type: yolo-generic

labelmap_path: /labelmap/coco-80.txt

# The detector automatically selects the default model based on your hardware:

# - For Hailo-8 hardware: YOLOv6n (default: yolov6n.hef)

# - For Hailo-8L hardware: YOLOv6n (default: yolov6n.hef)

#

# Optionally, you can specify a local model path to override the default.

# If a local path is provided and the file exists, it will be used instead of downloading.

# Example:

#path: /config/model_cache/yolov6n-640.hef

#path: /config/model_cache/yolov11s.hef

path: /config/model_cache/damoyolo_tinynasL25_S.hef

Hi,

The yaml config for custom model should look like:

model:
  width: 640
  height: 640
  input_tensor: nhwc
  input_pixel_format: rgb
  input_dtype: int
  model_type: yolo-generic
  labelmap_path: /labelmap/coco-80.txt
  path:
    https://some-path-to.hef

Can you please confirm this is the configuration you’re using?
Thanks,

Hi,

thank you for the reply, yes this is the config I am using:

model:
width: 640
height: 640
input_tensor: nhwc
input_pixel_format: rgb
input_dtype: int
model_type: yolo-generic
labelmap_path: /labelmap/coco-80.txt
path: …

best C.

Hi @Cristiano_De_Michele,

Can you please provide the URL of the model you downloaded?

Thanks,

Hi Michael,
the model is the following one:

https://hailo-model-zoo.s3.eu-west-2.amazonaws.com/ModelZoo/Compiled/v2.18.0/hailo8l/damoyolo_tinynasL25_S.hef

best C.

Cristiano De Michele
cristiano.demichele@gmail.com

Hi,

I suspect the issue is that “DAMO YOLO” not falls under the “yolo-generic” type and therefore the post process is different.

Dear Michael,
it was also my guess,
hence there is no anything I can
do to fix it, since it should be
done by frigate developers, right?

best Cristiano

Cristiano De Michele
cristiano.demichele@gmail.com

Maybe a clue for your issue. I also run frigate on a pi5 and hailo8 hat. I had a similar issue but with the yolov11s.

The link you provided showed that is has been compiled with a v2.18 , which corresponds to 4.23 hailo driver.

Frigate is only compatible (for now) with 4.21 driver version , so you need v.2.15 compiled version.

Just change “18” by “15” in the download link and you’ll get the correct file, and give it a try.

https://hailo-model-zoo.s3.eu-west-2.amazonaws.com/ModelZoo/Compiled/v2.15.0/hailo8l/damoyolo_tinynasL25_S.hef