towhee.models.retina_face.utilsΒΆ

Functions

conv_bn

conv_bn1x1

conv_bn_no_relu

conv_dw

decode

Decode locations from predictions using priors to undo the encoding we did for offset regression at train time.

decode_landm

Decode landm from predictions using priors to undo the encoding we did for offset regression at train time.

Classes

IntermediateLayerGetter

IntermediateLayerGetter borrowed from torchvision