set: The parameter can be set using set_dl_model_param. get: The parameter can be retrieved using get_dl_model_param. create: The parameter can be set using create_dl_model_detection. Certain parameters are set as non-optional parameters, the corresponding notation is given in brackets...
get_dl_model_param(DLModelHandle, 'image_dimensions', ImageDimensions) get_dl_model_param(DLModelHandle, 'class_names', ClassNames) get_dl_model_param(DLModelHandle, 'class_ids', ClassIds) set_dl_model_param (DLModelHandle, 'runtime_init', 'immediately') dev_open_window(0, 0, 600, ...
set_dl_model_param (DLModelHandle,'image_height', ImageHeight) set_dl_model_param (DLModelHandle,'complexity', Complexity)*set_dl_model_param (DLModelHandle,'runtime','cpu') set_dl_model_param (DLModelHandle,'runtime','gpu') set_dl_model_param (DLModelHandle,'runtime_init','immediat...
set_dl_model_param (DLModelHandle, 'image_height', ImageHeight) set_dl_model_param (DLModelHandle, 'complexity', Complexity) *set_dl_model_param (DLModelHandle, 'runtime', 'cpu') set_dl_model_param (DLModelHandle, 'runtime', 'gpu') set_dl_model_param (DLModelHandle, 'runtime_ini...
get_dl_model_layer_param— Retrieve parameter values for a given layer. Signature Description Which generic and layer-specific parameters can be queried is described in the specific operator references (create_dl_layer_*). Multithreading type: reentrant (runs in parallel with non-exclusive operators...
通过函数read_dl_model读取网络。 通过函数set_dl_model_param设置模型参数。例如,'image_dimensions'和'class_ids',请参阅get_dl_model_param的文档。始终可以使用函数get_dl_model_param检索当前参数值。 使用函数create_dl_train_param设置训练参数并将其存储在字典'TrainingParam'中。这些参数包括: ...
get_dl_model_param 可以支持cpu,如图所示。runtime_init设置cpu在halcon就会报错。很奇怪的是,set_dl...
get_dl_model_param( : : DLModelHandle, GenParamName : GenParamValue) get_dl_model_param() 获取深度学习模型参数 apply_dl_model( : : DLModelHandle,DLSampleBatch, Outputs : DLResultBatch) apply_dl_model()深度学习推理,DLSampleBatch可使用gen_dl_samples_from_images()程序来创建,每次推理同时处...
优化深度学习模型进行推理,`optimize_dl_model_for_inference`函数通过AI2接口完成。建议使用的`DLSamples`样本应具有代表性,通常每个类别提供10-20个样本即可达到良好的结果。获取设备参数使用`get_dl_device_param`函数,反之,`set_dl_device_param`用于设置设备参数。深度学习模型参数的设置与获取,`...
All the other parameters can still be set or changed using the operator set_dl_model_param. An overview, how parameters can be set is given in get_dl_model_param, where also a description of the specific parameters is provided. After creating the object detection model, the 'type' will ...