MCPcopy Create free account
hub / github.com/TropComplique/FaceBoxes-tensorflow / encode

Function encode

src/utils/box_utils.py:107–138  ·  view source on GitHub ↗

Encode boxes with respect to anchors. Arguments: boxes: a float tensor with shape [N, 4]. anchors: a float tensor with shape [N, 4]. Returns: a float tensor with shape [N, 4], anchor-encoded boxes of the format [ty, tx, th, tw].

(boxes, anchors)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_create_targetsFunction · 0.90

Calls 1

to_center_coordinatesFunction · 0.85

Tested by

no test coverage detected