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

Method forward

models/mdetr.py:983–1040  ·  view source on GitHub ↗

This performs the loss computation. Parameters: outputs: dict of tensors, see the output specification of the model for the format targets: list of dicts, such that len(targets) == batch_size. The expected keys in each dict depends on the losse

(self, outputs, targets, positive_map, args=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

arm_box_aligned_lossMethod · 0.95
get_lossMethod · 0.95
updateMethod · 0.45

Tested by

no test coverage detected