write_dl_modelπ
Short descriptionπ
write_dl_model β Write a deep learning model in a file.
Signatureπ
write_dl_model( dl_model DLModelHandle, filename.write FileName )
Descriptionπ
write_dl_model writes the deep learning model
DLModelHandle to the file given by FileName.
Please note that the values of the runtime specific parameters 'gpu',
'runtime', and 'runtime_init' are not written.
The default HALCON file extension for deep learning models is
'.hdl'.
The model can be read with read_dl_model.
For further explanations to deep learning models in HALCON, see the chapter Deep Learning / Model.
Execution informationπ
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π
DLModelHandle (input_control) dl_model β (handle)
Handle of the deep learning model.
FileName (input_control) filename.write β (string)
Filename
File extension: .hdl
Resultπ
If the parameters are valid, the operator write_dl_model
returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.
Combinations with other operatorsπ
Combinations
Possible predecessors
read_dl_model, train_dl_model_batch, train_dl_model_anomaly_dataset, set_dl_model_param
Moduleπ
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, Deep Learning Enhanced, Deep Learning Professional, Matching