MCPcopy Create free account
hub / github.com/MTLab/MorphMLP / detection_collate

Function detection_collate

slowfast/datasets/loader.py:48–82  ·  view source on GitHub ↗

Collate function for detection task. Concatanate bboxes, labels and metadata from different samples in the first dimension instead of stacking them to have a batch-size dimension. Args: batch (tuple or list): data batch to collate. Returns: (tuple): collated dete

(batch)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected