deserialize_dl_modelT_deserialize_dl_modelDeserializeDlModelDeserializeDlModeldeserialize_dl_model (Operator)
Name
deserialize_dl_modelT_deserialize_dl_modelDeserializeDlModelDeserializeDlModeldeserialize_dl_model
— Deserialize a deep learning model.
Signature
Description
deserialize_dl_modeldeserialize_dl_modelDeserializeDlModelDeserializeDlModeldeserialize_dl_model
deserializes the deep learning model defined
by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
and previously serialized by
serialize_dl_modelserialize_dl_modelSerializeDlModelSerializeDlModelserialize_dl_model
.
The operator acts the same as read_dl_modelread_dl_modelReadDlModelReadDlModelread_dl_model
except that the input
is a serialized item instead of a file.
For a detailed description please refer to the documentation of
read_dl_modelread_dl_modelReadDlModelReadDlModelread_dl_model
.
For further explanations to deep learning models in HALCON,
see the chapter Deep Learning / Model.
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
SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
(input_control) serialized_item →
HSerializedItem, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the serialized item.
DLModelHandleDLModelHandleDLModelHandleDLModelHandledlmodel_handle
(output_control) dl_model →
HDlModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the deep learning model.
Result
If the parameters are valid, the operator deserialize_dl_modeldeserialize_dl_modelDeserializeDlModelDeserializeDlModeldeserialize_dl_model
returns the value 2 (
H_MSG_TRUE)
. If necessary, an exception is raised.
Possible Predecessors
fread_serialized_itemfread_serialized_itemFreadSerializedItemFreadSerializedItemfread_serialized_item
,
receive_serialized_itemreceive_serialized_itemReceiveSerializedItemReceiveSerializedItemreceive_serialized_item
,
serialize_dl_modelserialize_dl_modelSerializeDlModelSerializeDlModelserialize_dl_model
Possible Successors
apply_dl_modelapply_dl_modelApplyDlModelApplyDlModelapply_dl_model
,
train_dl_model_batchtrain_dl_model_batchTrainDlModelBatchTrainDlModelBatchtrain_dl_model_batch
,
train_dl_model_anomaly_datasettrain_dl_model_anomaly_datasetTrainDlModelAnomalyDatasetTrainDlModelAnomalyDatasettrain_dl_model_anomaly_dataset
,
set_dl_model_paramset_dl_model_paramSetDlModelParamSetDlModelParamset_dl_model_param
,
get_dl_model_paramget_dl_model_paramGetDlModelParamGetDlModelParamget_dl_model_param
See also
serialize_dl_modelserialize_dl_modelSerializeDlModelSerializeDlModelserialize_dl_model
Module
Foundation. This operator uses dynamic licensing (see the 'Installation Guide'). Which of the following modules is required depends on the specific usage of the operator:
3D Metrology, OCR/OCV, Matching, Deep Learning Enhanced, Deep Learning Professional