MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The SsdSampler is used by the SSD algorithm to sample BBoxes. More...
Public Member Functions | |
SsdSampler (CudaDnn< T > cuda, Log log) | |
The constructor. More... | |
void | Dispose () |
Free all resources used. More... | |
List< NormalizedBBox > | GroupObjectBBoxes (SimpleDatum anno_datum) |
Find all annotated NormalizedBBox. More... | |
bool | SatisfySampleConstraint (NormalizedBBox sampledBBox, List< NormalizedBBox > rgObjectBboxes, SamplerConstraint sampleConstraint) |
Check if the sampled bbox satisfies the constraints with all object bboxes. More... | |
List< NormalizedBBox > | GenerateSamples (NormalizedBBox sourceBBox, List< NormalizedBBox > rgObjectBboxes, BatchSampler batchSampler) |
Generate samples from the NormalizedBBox using the BatchSampler. More... | |
List< NormalizedBBox > | GenerateBatchSamples (SimpleDatum anno_datum, List< BatchSampler > rgBatchSamplers) |
Generate samples from the annotated Datum using the list of BatchSamplers. More... | |
The SsdSampler is used by the SSD algorithm to sample BBoxes.
Definition at line 20 of file SsdSampler.cs.
MyCaffe.common.SsdSampler< T >.SsdSampler | ( | CudaDnn< T > | cuda, |
Log | log | ||
) |
The constructor.
Definition at line 31 of file SsdSampler.cs.
void MyCaffe.common.SsdSampler< T >.Dispose | ( | ) |
Free all resources used.
Definition at line 42 of file SsdSampler.cs.
List< NormalizedBBox > MyCaffe.common.SsdSampler< T >.GenerateBatchSamples | ( | SimpleDatum | anno_datum, |
List< BatchSampler > | rgBatchSamplers | ||
) |
Generate samples from the annotated Datum using the list of BatchSamplers.
anno_datum | |
rgBatchSamplers |
Definition at line 236 of file SsdSampler.cs.
List< NormalizedBBox > MyCaffe.common.SsdSampler< T >.GenerateSamples | ( | NormalizedBBox | sourceBBox, |
List< NormalizedBBox > | rgObjectBboxes, | ||
BatchSampler | batchSampler | ||
) |
Generate samples from the NormalizedBBox using the BatchSampler.
sourceBBox | Specifies the source BBox. |
rgObjectBboxes | Specifies the object normalized BBoxes. |
batchSampler | Specifies the batch sampler. |
Definition at line 203 of file SsdSampler.cs.
List< NormalizedBBox > MyCaffe.common.SsdSampler< T >.GroupObjectBBoxes | ( | SimpleDatum | anno_datum | ) |
Find all annotated NormalizedBBox.
anno_datum | Specifies the annotated datum. |
Definition at line 56 of file SsdSampler.cs.
bool MyCaffe.common.SsdSampler< T >.SatisfySampleConstraint | ( | NormalizedBBox | sampledBBox, |
List< NormalizedBBox > | rgObjectBboxes, | ||
SamplerConstraint | sampleConstraint | ||
) |
Check if the sampled bbox satisfies the constraints with all object bboxes.
sampledBBox | Specifies the sampled BBox. |
rgObjectBboxes | Specifies the list of object normalized BBoxes. |
sampleConstraint | Specifies the sample constraint. |
Definition at line 84 of file SsdSampler.cs.