Operator Reference
get_dl_classifier_train_result (Operator)
get_dl_classifier_train_result — Return the results for the single training step of a deep-learning-based
classifier.
Warning
get_dl_classifier_train_result is obsolete and is only provided for
reasons of backward compatibility.
The operator will be removed with HALCON 25.05.
Signature
get_dl_classifier_train_result( : : DLClassifierTrainResultHandle, GenParamName : GenParamValue)
Description
get_dl_classifier_train_result returns the value
GenParamValue of the result GenParamName of a deep
learning training handle DLClassifierTrainResultHandle.
The options for GenParamValue are the following:
- 'loss' or 'total_loss':
-
Current value of the loss function. See
train_dl_classifier_batchfor a detailed explanation of the loss function. - 'mll_loss':
-
Current value of the loss function, i.e. 'loss', without 'regularization_loss'.
- 'regularization_loss':
Current value of the regularization loss function, i.e. 'loss' without 'mll_loss'.
For an explanation of the concept of deep-learning-based classification see the introduction of chapter Deep Learning / Classification. The workflow involving this legacy operator is described in the chapter Legacy / DL Classification.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
DLClassifierTrainResultHandle (input_control) dl_classifier_train_result → (handle)
Handle of the training results from the deep-learning-based classifier.
GenParamName (input_control) attribute.name(-array) → (string)
Name of the generic parameter.
Default: 'loss'
List of values: 'loss', 'mll_loss', 'regularization_loss', 'total_loss'
GenParamValue (output_control) attribute.name(-array) → (real / integer / string)
Value of the generic parameter.
Result
If the parameters are valid, the operator
get_dl_classifier_train_result returns the value 2 (
H_MSG_TRUE)
. If
necessary, an exception is raised.
Possible Predecessors
Possible Successors
clear_dl_classifier_train_result
Module
Deep Learning Professional