MCPcopy Create free account
hub / github.com/Yang-Li-2000/Touch-Line-Transformer / forward

Method forward

models/postprocessors.py:232–279  ·  view source on GitHub ↗

Perform the computation Parameters: outputs: raw outputs of the model target_sizes: tensor of dimension [batch_size x 2] containing the size of each images of the batch For evaluation, this must be the original image size (before any data aug

(self, outputs, target_sizes, img_names=None, targets=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected