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.


Hi @tom_ard
Your approach 2 is correct and the output tensors look as expected.