ClassesClasses | | Operators

get_dl_classifier_paramget_dl_classifier_paramGetDlClassifierParamGetDlClassifierParam (Operator)

Name

get_dl_classifier_paramget_dl_classifier_paramGetDlClassifierParamGetDlClassifierParam — Return the parameters the deep-learning-based classifier.

Signature

get_dl_classifier_param( : : DLClassifierHandle, GenParamName : GenParamValue)

Herror get_dl_classifier_param(const Hlong DLClassifierHandle, const char* GenParamName, Hlong* GenParamValue)

Herror T_get_dl_classifier_param(const Htuple DLClassifierHandle, const Htuple GenParamName, Htuple* GenParamValue)

void GetDlClassifierParam(const HTuple& DLClassifierHandle, const HTuple& GenParamName, HTuple* GenParamValue)

HTuple HDlClassifier::GetDlClassifierParam(const HTuple& GenParamName) const

HTuple HDlClassifier::GetDlClassifierParam(const HString& GenParamName) const

HTuple HDlClassifier::GetDlClassifierParam(const char* GenParamName) const

static void HOperatorSet.GetDlClassifierParam(HTuple DLClassifierHandle, HTuple genParamName, out HTuple genParamValue)

HTuple HDlClassifier.GetDlClassifierParam(HTuple genParamName)

HTuple HDlClassifier.GetDlClassifierParam(string genParamName)

Description

get_dl_classifier_paramget_dl_classifier_paramGetDlClassifierParamGetDlClassifierParamGetDlClassifierParam returns the parameter values 'GenParamValue'"GenParamValue""GenParamValue""GenParamValue""GenParamValue" of 'GenParamName'"GenParamName""GenParamName""GenParamName""GenParamName" of the neural network DLClassifierHandleDLClassifierHandleDLClassifierHandleDLClassifierHandleDLClassifierHandle.

The hyperparameters and network parameters can be set with the operator set_dl_classifier_paramset_dl_classifier_paramSetDlClassifierParamSetDlClassifierParamSetDlClassifierParam, in whose reference entry they are described in detail. The following parameters are defined by the pretrained network and are read-only. They define the properties of the expected input image:

'image_width'"image_width""image_width""image_width""image_width":

Image width.

'image_height'"image_height""image_height""image_height""image_height":

Image height.

'image_num_channels'"image_num_channels""image_num_channels""image_num_channels""image_num_channels":

Number of channels.

'image_range_min'"image_range_min""image_range_min""image_range_min""image_range_min":

Minimum gray value.

'image_range_max'"image_range_max""image_range_max""image_range_max""image_range_max":

Maximum gray value.

Every image that is fed into the network must be present according to these parameters. To preprocess images accordingly, the procedure preprocess_dl_classifier_images is available.

For an explanation of the concept of deep-learning-based classification see the introduction of chapter Deep Learning / Classification.

Execution Information

Parameters

DLClassifierHandleDLClassifierHandleDLClassifierHandleDLClassifierHandleDLClassifierHandle (input_control)  dl_classifier HDlClassifier, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Handle of the deep-learning-based classifier.

GenParamNameGenParamNameGenParamNameGenParamNamegenParamName (input_control)  attribute.name(-array) HTupleHTupleHtuple (string) (string) (HString) (char*)

Name of the generic parameter.

Default value: 'gpu' "gpu" "gpu" "gpu" "gpu"

List of values: 'batch_size'"batch_size""batch_size""batch_size""batch_size", 'gpu'"gpu""gpu""gpu""gpu", 'image_height'"image_height""image_height""image_height""image_height", 'image_num_channels'"image_num_channels""image_num_channels""image_num_channels""image_num_channels", 'image_range_max'"image_range_max""image_range_max""image_range_max""image_range_max", 'image_range_min'"image_range_min""image_range_min""image_range_min""image_range_min", 'image_width'"image_width""image_width""image_width""image_width", 'learning_rate'"learning_rate""learning_rate""learning_rate""learning_rate", 'momentum'"momentum""momentum""momentum""momentum", 'weight_prior'"weight_prior""weight_prior""weight_prior""weight_prior"

GenParamValueGenParamValueGenParamValueGenParamValuegenParamValue (output_control)  attribute.name(-array) HTupleHTupleHtuple (integer / string / real) (int / long / string / double) (Hlong / HString / double) (Hlong / char* / double)

Value of the generic parameter.

Result

If the parameters are valid, the operator get_dl_classifier_paramget_dl_classifier_paramGetDlClassifierParamGetDlClassifierParamGetDlClassifierParam returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

read_dl_classifierread_dl_classifierReadDlClassifierReadDlClassifierReadDlClassifier, set_dl_classifier_paramset_dl_classifier_paramSetDlClassifierParamSetDlClassifierParamSetDlClassifierParam

Possible Successors

train_dl_classifier_batchtrain_dl_classifier_batchTrainDlClassifierBatchTrainDlClassifierBatchTrainDlClassifierBatch, apply_dl_classifierapply_dl_classifierApplyDlClassifierApplyDlClassifierApplyDlClassifier

See also

set_dl_classifier_paramset_dl_classifier_paramSetDlClassifierParamSetDlClassifierParamSetDlClassifierParam

Module

Deep Learning Inference


ClassesClasses | | Operators