MCPcopy Create free account
hub / github.com/Tencent/FaceDetection-DSFD / WIDERFaceAnnotationTransform

Class WIDERFaceAnnotationTransform

data/widerface.py:28–89  ·  view source on GitHub ↗

Transforms a WIDERFace annotation into a Tensor of bbox coords and label index Initilized with a dictionary lookup of classnames to indexes Arguments: class_to_ind (dict, optional): dictionary lookup of classnames -> indexes (default: alphabetic indexing of VOC's 20 clas

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

widerface_val.pyFile · 0.90
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected