How to disable postprocessing when compiling hef

I have an onnx model compiled with yolov8n. I want to compile this model into hef and run it on a Raspberry Pi.

I have successfully compiled onnx into a hef model and successfully run it on a Raspberry Pi.

Now I have a new need to get the original output of the model instead of the post-processed data.

I found that post-processing has been added to the model when the model is compiled. How can I disable post-processing when compiling?

I made two attempts:

  1. Modify hpp and nms in yolov8n.yaml to false, but unfortunately it seems to have no effect.


  2. Directly delete nms_postprocess in yolov8n.alls, which seems to work. But I don’t know if it will cause other serious effects.


Removing the nms_postprocess command from the model script (ALLS) is the right way to do it.

Thanks for your reply!
So what is the effect of setting “hpp” and “nms” to false in the yaml file?

The hailomz CLI provides a convenient way to convert models from the Hailo Model Zoo. While it can be adapted for your models, this is not its intended use.

We recommend writing your own Python script for model conversion (see the Hailo Dataflow Compiler tutorials). This approach provides more flexibility, full control of the conversion process and allows

  • Conversion of custom models
  • Integration of validation functions
  • Dataset preparation
  • Model conversion for multiple Hailo devices (Hailo-8/8L, Hailo-15)
  • Interactive notebooks like our hailo tutorials

All flows support the model scripts (ALLS).

Got it, thanks for your reply.