generate_empty_grid: Creates empty output 'Yolo3' grid.

Description Usage Arguments Value

Description

Creates empty output 'Yolo3' grid.

Usage

1
2
3
4
5
6
7
8
generate_empty_grid(
  batch_size,
  net_h,
  net_w,
  downscale,
  anchors_per_grid,
  n_class
)

Arguments

batch_size

Batch size.

net_h

Input layer height from trained yolo3 model. Must be divisible by '32'.

net_w

Input layer width from trained yolo3 model. Must be divisible by '32'.

downscale

Integer specifying how to downscale 'net_h' and 'net_w'. For 'Yolo3' output grids equal do '32', '16' and '8'.

anchors_per_grid

Number of anchors/boxes per one output grid.

n_class

Number of prediction classes.

Value

Empty output 'Yolo3' grid.


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