MCPcopy Create free account
hub / github.com/csxmli2016/DFDNet / shuffle_lr

Function shuffle_lr

FaceLandmarkDetection/face_alignment/utils.py:173–195  ·  view source on GitHub ↗

Shuffle the points left-right according to the axis of symmetry of the object. Arguments: parts {torch.tensor} -- a 3D or 4D object containing the heatmaps. Keyword Arguments: pairs {list of integers} -- [order of the flipped points] (default: {None})

(parts, pairs=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

flipFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected