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

The DataNoiseParameter is used by the DataParameter when the 'enable_noise_for_nonmatch' = True, which is used when 'images_per_blob' > 1. More...

Public Member Functions

 DataNoiseParameter ()
 The constructor. More...
 
void Copy (DataNoiseParameter pSrc)
 Copies the specified source data noise parameter to this one. More...
 
RawProto ToProto (string strName)
 Convert the DataNoiseParameter into a RawProto. More...
 

Static Public Member Functions

static DataNoiseParameter FromProto (RawProto rp, DataNoiseParameter p=null)
 Parses the parameter from a RawProto. More...
 

Properties

bool use_noisy_mean [getset]
 (optional, default = true) When true the noise is applied to the mean and used as the noisy data. NOTE: When using this setting, the filler should be configured to produce values in the range [0,1]. More...
 
int noise_data_label [getset]
 (optional, default = -1) Specifies the label used with each noise filled data used when 'use_noise_for_nonmatch' = true. More...
 
FillerParameter noise_filler [getset]
 Specifies the noise filler used when 'use_noise_for_nonmatch' = true. By default the 'noise_filter' is set to CONSTANT(1) which, when used with the 'use_noisy_mean' = True, uses the mean image as the data noise. More...
 
string noisy_save_path [getset]
 (/b optional, default = null) Specifies the path where the noisy data image is saved, otherwise is ignored when null. This setting is only used for debugging. More...
 

Detailed Description

The DataNoiseParameter is used by the DataParameter when the 'enable_noise_for_nonmatch' = True, which is used when 'images_per_blob' > 1.

Definition at line 16 of file DataNoiseParameter.cs.

Constructor & Destructor Documentation

◆ DataNoiseParameter()

MyCaffe.param.DataNoiseParameter.DataNoiseParameter ( )

The constructor.

Definition at line 26 of file DataNoiseParameter.cs.

Member Function Documentation

◆ Copy()

void MyCaffe.param.DataNoiseParameter.Copy ( DataNoiseParameter  pSrc)

Copies the specified source data noise parameter to this one.

Parameters
pSrcSpecifies the source data noise parameter.

Definition at line 89 of file DataNoiseParameter.cs.

◆ FromProto()

static DataNoiseParameter MyCaffe.param.DataNoiseParameter.FromProto ( RawProto  rp,
DataNoiseParameter  p = null 
)
static

Parses the parameter from a RawProto.

Parameters
rpSpecifies the RawProto to parse.
pOptionally, specifies an instance to load. If null, a new instance is created and loaded.
Returns
A new instance of the parameter is returned.

Definition at line 128 of file DataNoiseParameter.cs.

◆ ToProto()

RawProto MyCaffe.param.DataNoiseParameter.ToProto ( string  strName)

Convert the DataNoiseParameter into a RawProto.

Parameters
strNameSpecifies the RawProto name.
Returns
The RawProto containing the settings is returned.

Definition at line 107 of file DataNoiseParameter.cs.

Property Documentation

◆ noise_data_label

int MyCaffe.param.DataNoiseParameter.noise_data_label
getset

(optional, default = -1) Specifies the label used with each noise filled data used when 'use_noise_for_nonmatch' = true.

Definition at line 44 of file DataNoiseParameter.cs.

◆ noise_filler

FillerParameter MyCaffe.param.DataNoiseParameter.noise_filler
getset

Specifies the noise filler used when 'use_noise_for_nonmatch' = true. By default the 'noise_filter' is set to CONSTANT(1) which, when used with the 'use_noisy_mean' = True, uses the mean image as the data noise.

Definition at line 54 of file DataNoiseParameter.cs.

◆ noisy_save_path

string MyCaffe.param.DataNoiseParameter.noisy_save_path
getset

(/b optional, default = null) Specifies the path where the noisy data image is saved, otherwise is ignored when null. This setting is only used for debugging.

Definition at line 64 of file DataNoiseParameter.cs.

◆ use_noisy_mean

bool MyCaffe.param.DataNoiseParameter.use_noisy_mean
getset

(optional, default = true) When true the noise is applied to the mean and used as the noisy data. NOTE: When using this setting, the filler should be configured to produce values in the range [0,1].

Definition at line 34 of file DataNoiseParameter.cs.


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