NMSConfigPostprocessException when converting ONNX to HEF

I’ve already trained a yolov8s model on my custom dataset and was able to export it as ONNX format.

Right now, when I’m trying to convert ONNX to HEF, I keep getting the error NMSConfigPostprocessException. From either of this two lines that I tried.

hailomz optimize yolov8s --har /kaggle/working/yolov8s.har --calib-path /kaggle/working/Nest-Sentinel-1/train/images --classes 1

hailomz compile yolov8s --ckpt=/kaggle/working/runs/detect/train2/weights/best.onnx --hw-arch hailo8l --calib-path /kaggle/working/Nest-Sentinel-1/train/images --classes 1 --performance

I have installed:

  1. HailoRT 4.22
  2. DFC 3.32
  3. Hailo Model Zoo 2.16

Any help would be appreciated!

Hi @Ritchie_Poh

At DeGirum (a SW partner of Hailo), we developed a cloud compiler to help users convert YOLO checkpoints to hef files. Please see if you find it helpful for your use case: Early Access to DeGirum Cloud Compiler

Hi @shashi ! Thanks for the info. I’ll check it out