Skip to main content

postprocess_boxes_multilabel_float

Function postprocess_boxes_multilabel_float 

Source
pub fn postprocess_boxes_multilabel_float<B: BBoxTypeTrait, BOX: Float + AsPrimitive<f32> + Send + Sync, SCORE: Float + AsPrimitive<f32> + Send + Sync>(
    threshold: SCORE,
    boxes: ArrayView2<'_, BOX>,
    scores: ArrayView2<'_, SCORE>,
) -> DecoderResult<Vec<DetectBox>>
Expand description

postprocess_boxes_multilabel_index_float without anchor indices.

ยงErrors

crate::DecoderError::InvalidShape unless boxes are [N, 4] and scores [N, C].