MCPcopy Create free account
hub / github.com/MotrixLab/AiOS / __init__

Method __init__

detrsmpl/models/losses/iou_loss.py:318–323  ·  view source on GitHub ↗
(self, beta=0.2, eps=1e-3, reduction='mean', loss_weight=1.0)

Source from the content-addressed store, hash-verified

316
317class BoundedIoULoss(nn.Module):
318 def __init__(self, beta=0.2, eps=1e-3, reduction='mean', loss_weight=1.0):
319 super(BoundedIoULoss, self).__init__()
320 self.beta = beta
321 self.eps = eps
322 self.reduction = reduction
323 self.loss_weight = loss_weight
324
325 def forward(self,
326 pred,

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected