MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.param.ssd.SamplerConstraint Class Reference

Specifies the constratins for selecting sampled bbox used in SSD. More...

Inheritance diagram for MyCaffe.param.ssd.SamplerConstraint:
MyCaffe.basecode.BaseParameter MyCaffe.basecode.IBinaryPersist

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...
 

Detailed Description

Specifies the constratins for selecting sampled bbox used in SSD.

See also
SSD: Single Shot MultiBox Detector by Wei Liu, Dragomir Anguelov, Dumitru Erhan, Christian Szegedy, Scott Reed, Cheng-Yang Fu, Alexander C. Berg, 2016.
GitHub: SSD: Single Shot MultiBox Detector, by weiliu89/caffe, 2016

Definition at line 21 of file SamplerConstraint.cs.

Constructor & Destructor Documentation

◆ SamplerConstraint()

MyCaffe.param.ssd.SamplerConstraint.SamplerConstraint ( )

The SampleConstraint constructor.

Definition at line 33 of file SamplerConstraint.cs.

Member Function Documentation

◆ Clone()

SamplerConstraint MyCaffe.param.ssd.SamplerConstraint.Clone ( )

Creates a copy of the SampleConstraint.

Returns
A new instance of the SampleConstraint is returned.

Definition at line 158 of file SamplerConstraint.cs.

◆ Compare()

bool MyCaffe.param.ssd.SamplerConstraint.Compare ( SamplerConstraint  bs)

Compares this SampleConstraint to another.

Parameters
bsSpecifies the other SampleConstraint to compare this one to.
Returns
If the two SampleConstraint's are the same true is returned, otherwise false is returned.

Definition at line 186 of file SamplerConstraint.cs.

◆ CompareTo()

int MyCaffe.param.ssd.SamplerConstraint.CompareTo ( object  obj)

Compares this SampleConstraint to another.

Parameters
objSpecifies the other SampleConstraint to compare this one to.
Returns
If the two SampleConstraint's are the same true is returned, otherwise false is returned.

Definition at line 211 of file SamplerConstraint.cs.

◆ FromProto()

static SamplerConstraint MyCaffe.param.ssd.SamplerConstraint.FromProto ( RawProto  rp)
static

Parse a new SampleConstraint from a RawProto.

Parameters
rpSpecifies the RawProto containing a representation of the SampleConstraint.
Returns
A new instance of the SampleConstraint is returned.

Definition at line 256 of file SamplerConstraint.cs.

◆ Load() [1/2]

static SamplerConstraint MyCaffe.param.ssd.SamplerConstraint.Load ( BinaryReader  br)
static

Load the SampleConstraint from a binary reader.

Parameters
brThe binary reader to use.
Returns
A new SampleConstraint instance is returned.

Definition at line 94 of file SamplerConstraint.cs.

◆ Load() [2/2]

object MyCaffe.param.ssd.SamplerConstraint.Load ( BinaryReader  br,
bool  bNewInstance 
)

Load the SampleConstraint from a binary reader.

Parameters
brThe binary reader to use.
bNewInstanceWhen true, a the SampleConstraint is read into a new instance, otherwise it is read into the current instance.
Returns
The SampleConstraint instance is returned.

Implements MyCaffe.basecode.IBinaryPersist.

Definition at line 72 of file SamplerConstraint.cs.

◆ Save()

void MyCaffe.param.ssd.SamplerConstraint.Save ( BinaryWriter  bw)

Save the SampleConstraint to a binary writer.

Parameters
bwThe binary writer to use.

Implements MyCaffe.basecode.IBinaryPersist.

Definition at line 56 of file SamplerConstraint.cs.

◆ ToProto()

override RawProto MyCaffe.param.ssd.SamplerConstraint.ToProto ( string  strName)
virtual

Converts the SampleConstraint to a RawProto.

Parameters
strNameSpecifies a name for the RawProto.
Returns
A new RawProto representing the SampleConstraint is returned.

Implements MyCaffe.basecode.BaseParameter.

Definition at line 229 of file SamplerConstraint.cs.

◆ ToString()

override string MyCaffe.param.ssd.SamplerConstraint.ToString ( )

Return the string representation of the shape.

Returns
The string representation is returned.

Definition at line 283 of file SamplerConstraint.cs.

Property Documentation

◆ max_jaccard_overlap

float? MyCaffe.param.ssd.SamplerConstraint.max_jaccard_overlap
getset

Get/set the maximum Jaccard overlap between sampled bbox and all boxes in AnnotationGroup.

Definition at line 112 of file SamplerConstraint.cs.

◆ max_object_coverage

float? MyCaffe.param.ssd.SamplerConstraint.max_object_coverage
getset

Get/set the maximum Object coverage between sampled bbox and all boxes in AnnotationGroup.

Definition at line 148 of file SamplerConstraint.cs.

◆ max_sample_coverage

float? MyCaffe.param.ssd.SamplerConstraint.max_sample_coverage
getset

Get/set the maximum Sample coverage between sampled bbox and all boxes in AnnotationGroup.

Definition at line 130 of file SamplerConstraint.cs.

◆ min_jaccard_overlap

float? MyCaffe.param.ssd.SamplerConstraint.min_jaccard_overlap
getset

Get/set the minimum Jaccard overlap between sampled bbox and all boxes in AnnotationGroup.

Definition at line 103 of file SamplerConstraint.cs.

◆ min_object_coverage

float? MyCaffe.param.ssd.SamplerConstraint.min_object_coverage
getset

Get/set the minimum Object coverage between sampled bbox and all boxes in AnnotationGroup.

Definition at line 139 of file SamplerConstraint.cs.

◆ min_sample_coverage

float? MyCaffe.param.ssd.SamplerConstraint.min_sample_coverage
getset

Get/set the minimum Sample coverage between sampled bbox and all boxes in AnnotationGroup.

Definition at line 121 of file SamplerConstraint.cs.


The documentation for this class was generated from the following file: