MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
Specifies the constratins for selecting sampled bbox used in SSD. More...
Public Member Functions | |
SamplerConstraint () | |
The SampleConstraint constructor. More... | |
void | Save (BinaryWriter bw) |
Save the SampleConstraint to a binary writer. More... | |
object | Load (BinaryReader br, bool bNewInstance) |
Load the SampleConstraint from a binary reader. More... | |
SamplerConstraint | Clone () |
Creates a copy of the SampleConstraint. More... | |
bool | Compare (SamplerConstraint bs) |
Compares this SampleConstraint to another. More... | |
int | CompareTo (object obj) |
Compares this SampleConstraint to another. More... | |
override RawProto | ToProto (string strName) |
Converts the SampleConstraint to a RawProto. More... | |
override string | ToString () |
Return the string representation of the shape. More... | |
Public Member Functions inherited from MyCaffe.basecode.BaseParameter | |
BaseParameter () | |
Constructor for the parameter. More... | |
virtual bool | Compare (BaseParameter p) |
Compare this parameter to another parameter. More... | |
Static Public Member Functions | |
static SamplerConstraint | Load (BinaryReader br) |
Load the SampleConstraint from a binary reader. More... | |
static SamplerConstraint | FromProto (RawProto rp) |
Parse a new SampleConstraint from a RawProto. More... | |
Static Public Member Functions inherited from MyCaffe.basecode.BaseParameter | |
static double | ParseDouble (string strVal) |
Parse double values using the US culture if the decimal separator = '.', then using the native culture, and if then lastly trying the US culture to handle prototypes containing '.' as the separator, yet parsed in a culture that does not use '.' as a decimal. More... | |
static bool | TryParse (string strVal, out double df) |
Parse double values using the US culture if the decimal separator = '.', then using the native culture, and if then lastly trying the US culture to handle prototypes containing '.' as the separator, yet parsed in a culture that does not use '.' as a decimal. More... | |
static float | ParseFloat (string strVal) |
Parse float values using the US culture if the decimal separator = '.', then using the native culture, and if then lastly trying the US culture to handle prototypes containing '.' as the separator, yet parsed in a culture that does not use '.' as a decimal. More... | |
static bool | TryParse (string strVal, out float f) |
Parse doufloatble values using the US culture if the decimal separator = '.', then using the native culture, and if then lastly trying the US culture to handle prototypes containing '.' as the separator, yet parsed in a culture that does not use '.' as a decimal. More... | |
Properties | |
float? | min_jaccard_overlap [getset] |
Get/set the minimum Jaccard overlap between sampled bbox and all boxes in AnnotationGroup. More... | |
float? | max_jaccard_overlap [getset] |
Get/set the maximum Jaccard overlap between sampled bbox and all boxes in AnnotationGroup. More... | |
float? | min_sample_coverage [getset] |
Get/set the minimum Sample coverage between sampled bbox and all boxes in AnnotationGroup. More... | |
float? | max_sample_coverage [getset] |
Get/set the maximum Sample coverage between sampled bbox and all boxes in AnnotationGroup. More... | |
float? | min_object_coverage [getset] |
Get/set the minimum Object coverage between sampled bbox and all boxes in AnnotationGroup. More... | |
float? | max_object_coverage [getset] |
Get/set the maximum Object coverage between sampled bbox and all boxes in AnnotationGroup. More... | |
Specifies the constratins for selecting sampled bbox used in SSD.
Definition at line 21 of file SamplerConstraint.cs.
MyCaffe.param.ssd.SamplerConstraint.SamplerConstraint | ( | ) |
The SampleConstraint constructor.
Definition at line 33 of file SamplerConstraint.cs.
SamplerConstraint MyCaffe.param.ssd.SamplerConstraint.Clone | ( | ) |
Creates a copy of the SampleConstraint.
Definition at line 158 of file SamplerConstraint.cs.
bool MyCaffe.param.ssd.SamplerConstraint.Compare | ( | SamplerConstraint | bs | ) |
Compares this SampleConstraint to another.
bs | Specifies the other SampleConstraint to compare this one to. |
Definition at line 186 of file SamplerConstraint.cs.
int MyCaffe.param.ssd.SamplerConstraint.CompareTo | ( | object | obj | ) |
Compares this SampleConstraint to another.
obj | Specifies the other SampleConstraint to compare this one to. |
Definition at line 211 of file SamplerConstraint.cs.
|
static |
Parse a new SampleConstraint from a RawProto.
rp | Specifies the RawProto containing a representation of the SampleConstraint. |
Definition at line 256 of file SamplerConstraint.cs.
|
static |
Load the SampleConstraint from a binary reader.
br | The binary reader to use. |
Definition at line 94 of file SamplerConstraint.cs.
object MyCaffe.param.ssd.SamplerConstraint.Load | ( | BinaryReader | br, |
bool | bNewInstance | ||
) |
Load the SampleConstraint from a binary reader.
br | The binary reader to use. |
bNewInstance | When true, a the SampleConstraint is read into a new instance, otherwise it is read into the current instance. |
Implements MyCaffe.basecode.IBinaryPersist.
Definition at line 72 of file SamplerConstraint.cs.
void MyCaffe.param.ssd.SamplerConstraint.Save | ( | BinaryWriter | bw | ) |
Save the SampleConstraint to a binary writer.
bw | The binary writer to use. |
Implements MyCaffe.basecode.IBinaryPersist.
Definition at line 56 of file SamplerConstraint.cs.
|
virtual |
Converts the SampleConstraint to a RawProto.
strName | Specifies a name for the RawProto. |
Implements MyCaffe.basecode.BaseParameter.
Definition at line 229 of file SamplerConstraint.cs.
override string MyCaffe.param.ssd.SamplerConstraint.ToString | ( | ) |
Return the string representation of the shape.
Definition at line 283 of file SamplerConstraint.cs.
|
getset |
Get/set the maximum Jaccard overlap between sampled bbox and all boxes in AnnotationGroup.
Definition at line 112 of file SamplerConstraint.cs.
|
getset |
Get/set the maximum Object coverage between sampled bbox and all boxes in AnnotationGroup.
Definition at line 148 of file SamplerConstraint.cs.
|
getset |
Get/set the maximum Sample coverage between sampled bbox and all boxes in AnnotationGroup.
Definition at line 130 of file SamplerConstraint.cs.
|
getset |
Get/set the minimum Jaccard overlap between sampled bbox and all boxes in AnnotationGroup.
Definition at line 103 of file SamplerConstraint.cs.
|
getset |
Get/set the minimum Object coverage between sampled bbox and all boxes in AnnotationGroup.
Definition at line 139 of file SamplerConstraint.cs.
|
getset |
Get/set the minimum Sample coverage between sampled bbox and all boxes in AnnotationGroup.
Definition at line 121 of file SamplerConstraint.cs.