public static final class MultiBoxTarget.Builder
extends java.lang.Object
MultiBoxTarget object.| Modifier and Type | Method and Description |
|---|---|
MultiBoxTarget |
build()
Builds a
MultiBoxTarget block. |
MultiBoxTarget.Builder |
optIgnoreLabel(float ignoreLabel)
Sets the label for ignored anchors.
|
MultiBoxTarget.Builder |
optIouThreshold(float iouThreshold)
Sets the anchor-GroundTruth overlap threshold to be regarded as a positive match.
|
MultiBoxTarget.Builder |
optMinNegativeSamples(int minNegativeSamples)
Sets the minimum number of negative samples.
|
MultiBoxTarget.Builder |
optNegativeMinigRatio(float negativeMinigRatio)
Sets the max negative to positive samples ratio.
|
MultiBoxTarget.Builder |
optNegativeMiningThreshold(float negativeMiningThreshold)
Sets the threshold used for negative mining.
|
public MultiBoxTarget.Builder optMinNegativeSamples(int minNegativeSamples)
minNegativeSamples - the minimum number of negative samplesBuilderpublic MultiBoxTarget.Builder optIouThreshold(float iouThreshold)
iouThreshold - the anchor-GroundTruth overlap threshold to be regarded as a positive
matchBuilderpublic MultiBoxTarget.Builder optIgnoreLabel(float ignoreLabel)
ignoreLabel - the label for ignored anchorsBuilderpublic MultiBoxTarget.Builder optNegativeMiningThreshold(float negativeMiningThreshold)
negativeMiningThreshold - the threshold used for negative miningBuilderpublic MultiBoxTarget.Builder optNegativeMinigRatio(float negativeMinigRatio)
negativeMinigRatio - the max negative to positive samples ratioBuilderpublic MultiBoxTarget build()
MultiBoxTarget block.MultiBoxTarget block