public class SingleShotDetectionAccuracy extends Accuracy
SingleShotDetectionAccuracy is an implementation of Accuracy. It is used while
training a Single Shot Detection (SSD) model for object detection. It uses the targets computed
by MultiBoxTarget, and computes the class prediction accuracy against the computed
targets.| Constructor and Description |
|---|
SingleShotDetectionAccuracy(java.lang.String name)
Creates a new instance of
SingleShotDetectionAccuracy with the given name. |
| Modifier and Type | Method and Description |
|---|---|
void |
update(NDList labels,
NDList predictions)
Computes and updates the training metrics based on the labels and predictions.
|
addCorrectInstances, addTotalInstances, getValue, reset, updatecheckLabelShapes, checkLabelShapes, duplicate, getNamepublic SingleShotDetectionAccuracy(java.lang.String name)
SingleShotDetectionAccuracy with the given name.name - the name given to the accuracy