transform_boxes_for_grid: Transforms 'Yolo3' predictions into valid box...

Description Usage Arguments Value

Description

Transforms 'Yolo3' predictions into valid box coordinates/scores.

Usage

1
2
3
4
5
6
7
transform_boxes_for_grid(
  preds,
  anchors,
  n_class,
  anchors_per_grid,
  obj_threshold
)

Arguments

preds

yolo3 model predictions (from one grid).

anchors

Prediction anchors (for one grid). For exact format check coco_anchors.

n_class

Number of prediction classes.

anchors_per_grid

Number of anchors/boxes per one output grid.

obj_threshold

Minimum objectness score. Must be in range '[0, 1]'. All boxes with objectness score less than 'obj_threshold' will be filtered out.

Value

List of box coordinates/scores.


maju116/platypus documentation built on Oct. 18, 2020, 9:40 a.m.