Class agnostic NMS post processing for Nanodet

Hi,

i converted a nanodet model to .hef format with NMS in the model script. however, i want to use class agnostic NMS (not by class). therefore i tried to use bbox_decoding_only in my modelscript and use a custom NMS logic.

but when using the parameter bbox_decoding_only i don’t get any bounding boxes. the exact same pipeline works if i don’t set this parameter.

nms_postprocess('/nms_config.json', meta_arch=yolov8,bbox_decoding_only=True)\n"

my NMS config is:

{
  "nms_scores_th": 0.45,
  "nms_iou_th": 0.4,
  "image_dims": [
    288,
    512
  ],
  "max_proposals_per_class": 100,
  "classes": 3,
  "regression_length": 11,
  "background_removal": false,
  "background_removal_index": 0,
  "bbox_decoders": [
    {
      "name": "bbox_decoder1",
      "stride": 8,
      "combined_layer": ""
    },
    {
      "name": "bbox_decoder2",
      "stride": 16,
      "combined_layer": ""
    },
    {
      "name": "bbox_decoder3",
      "stride": 32,
      "combined_layer": ""
    }
  ]
}