|
| float | clamp_unit (const float value) |
| |
| void | append_mosaic_boxes (span< const YoloDataset::Box > source, const array< float, 2 > &tile_origin, const array< float, 2 > &tile_size, vector< YoloDataset::Box > &destination) |
| |
| float | yolo_iou_wh (const array< float, 2 > &box, const array< float, 2 > &anchor) |
| |
| Index | best_anchor_for_box (const YoloDataset::Box &box, const vector< array< float, 2 > > &anchors) |
| |
| Index | grid_cell (float coordinate, Index grid) |
| |
| void | write_box_target (float *cell, const YoloDataset::Box &box, Index grid, Index col, Index row, float objectness) |
| |
| void | mark_ignored_anchors (const YoloDataset::Box &box, const vector< array< float, 2 > > &anchors, Index grid, Index head_offset, Index values_per_box, Index head_channels, Index skip_anchor, float *target) |
| |
| AnchorMatch | best_anchor_across_heads (const YoloDataset::Box &box, const vector< vector< array< float, 2 > > > &head_anchors) |
| |
| void | make_target (const vector< YoloDataset::Box > &boxes, const vector< array< float, 2 > > &anchors, Index grid_size, Index boxes_per_cell, Index classes_number, float *target) |
| |
| void | make_target_multi_scale (const vector< YoloDataset::Box > &boxes, const vector< vector< array< float, 2 > > > &head_anchors, const vector< Index > &head_grid_sizes, Index boxes_per_head, Index classes_number, float *target) |
| |
| void | make_target_v8_gtlist (const vector< YoloDataset::Box > &boxes, Index classes_number, float *target) |
| |
|
| constexpr uint32_t | YOLO_CACHE_VERSION = 3 |
| |
| constexpr char | YOLO_IMAGE_MAGIC [8] = {'O','P','E','N','N','Y','I','M'} |
| |
| constexpr char | YOLO_TARGET_MAGIC [8] = {'O','P','E','N','N','Y','T','G'} |
| |
| constexpr char | YOLO_BOXES_MAGIC [8] = {'O','P','E','N','N','Y','B','X'} |
| |