Heron hunting project: Rasperry-Pi - AI HAT+ - Frigate - custom model not working.

Hi @shashi,

Thanks for the reply.
Indeed, my answer is in the post I did myself. My model seems to be good, Frigate works with other models so normally everything should be fine.

To do an extra check of the model, I tried a small Python script to run my model:

Below the result of the test.

So the model if fine for sure :partying_face: .

To be completely sure, I rebuild my setup from scratch and I use a very simple frigate configuration based on what I found here in the community ( Hailo official integration with Frigate ) and using a simple USB camera:

mqtt:
enabled: false

ffmpeg:
hwaccel_args: preset-rpi-64-h264

detectors:
hailo8l:
type: hailo8l
device: PCIe

detect:
enable: true

snapshots:
enabled: true
retain:
default: 7

model:
path: /config/model_cache/heron.hef

cameras:
usb_cam:
ffmpeg:
inputs:
-path: /dev/video0
input_args:
-f
v4l2
-input_format
mjpeg
roles:
detect
record

This all still results in Frigate getting stuck and stopping detection with errors like:

  • *if det.shape[0] < 5:
  • IndexError: tuple index out of range

To be honest, no ideas anymore at the moment, so any idea/remark/help would be great.

Thanks.