Custom YOLOv8 pothole model compiles to HAR but HEF compilation fails

Hi,

I am using:

  • Raspberry Pi 5
  • Hailo AI HAT+
  • Hailo DFC 3.33.1

My custom YOLOv8 pothole model successfully creates:

  • pothole.har
  • pothole_optimized.har

However HEF compilation fails with:

TypeError: expected str, bytes or os.PathLike object, not NoneType

What I already verified:

  • pothole.onnx parses successfully
  • pothole.har created successfully
  • pothole_optimized.har created successfully
  • metadata.json shows state = quantized_model
  • hw_arch = hailo8

I can provide:

  • pothole.onnx
  • pothole.har
  • pothole_optimized.har

Can anyone help identify the missing parameter or generate a valid HEF?

Thanks.