콘텐츠로 이동

sp500_yolo_raw

#include <sp500/yolo.h>

struct sp500_yolo_raw

Raw head tensors as separate planes, one set per feature level.

Used by the ANCHORLESS, NMSFREE and DFLFREE families. Index 0, 1 and 2 are the stride 8, 16 and 32 levels. Each plane is HWC float for its level. Fill with sp500_yolo_raw_init(), then set the planes you have.

Attributes

Member Description
box
cls
extra
reserved

box

sp500_buffer box[SP500_YOLO_LEVELS]

Box head: 4 x 16 DFL logits for ANCHORLESS and NMSFREE, 4 direct distances for DFLFREE. Required.

cls

sp500_buffer cls[SP500_YOLO_LEVELS]

Class head: num_classes logits. Required.

extra

sp500_buffer extra[SP500_YOLO_LEVELS]

Task head: mask_coeffs mask coefficients for segmentation, 51 keypoint values for pose. Leave unused for detection.

reserved

uint32_t reserved[4]

must be zero