MCPcopy Create free account
hub / github.com/FoundationVision/ByteTrack / __init__

Method __init__

yolox/models/losses.py:11–14  ·  view source on GitHub ↗
(self, reduction="none", loss_type="iou")

Source from the content-addressed store, hash-verified

9
10class IOUloss(nn.Module):
11 def __init__(self, reduction="none", loss_type="iou"):
12 super(IOUloss, self).__init__()
13 self.reduction = reduction
14 self.loss_type = loss_type
15
16 def forward(self, pred, target):
17 assert pred.shape[0] == target.shape[0]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected