public class SingleShotDetectionLoss extends Loss
SingleShotDetectionLoss is an implementation of Loss. It is used to compute the
loss while training a Single Shot Detection (SSD) model for object detection. It involves
computing the targets given the generated anchors, labels and predictions, and then computing the
sum of class predictions and bounding box predictions.| Constructor and Description |
|---|
SingleShotDetectionLoss(java.lang.String name)
Base class for metric with abstract update methods.
|
| Modifier and Type | Method and Description |
|---|---|
NDArray |
getLoss(NDList labels,
NDList predictions)
Calculate loss between label and prediction.
|
duplicate, excludeBatchAxis, getValue, hingeLoss, hingeLoss, l1Loss, l1Loss, l2Loss, l2Loss, reset, sigmoidBinaryCrossEntropyLoss, sigmoidBinaryCrossEntropyLoss, softmaxCrossEntropyLoss, softmaxCrossEntropyLoss, updatecheckLabelShapes, checkLabelShapes, getNamepublic SingleShotDetectionLoss(java.lang.String name)
name - The display name of the Loss