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

Function decode

layers/box_utils.py:273–292  ·  view source on GitHub ↗

Decode locations from predictions using priors to undo the encoding we did for offset regression at train time. Args: loc (tensor): location predictions for loc layers, Shape: [num_priors,4] priors (tensor): Prior boxes in center-offset form. Shape: [n

(loc, priors, variances)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

refine_matchFunction · 0.85
forwardMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected