query_available_dl_devices(算子名称) 名称 query_available_dl_devices— Get list of deep-learning-capable hardware devices. 参数签名 query_available_dl_devices( : :GenParamName,GenParamValue:DLDeviceHandles) 描述 query_available_dl_devicesreturns a list of handles. Each handle refers to a deep-...
Devices that are supported through the AI 2-interface can also be set to a deep learning model using set_dl_model_param. In this case the inference is not executed by HALCON but by the device itself. query_available_dl_devices returns a handle for each deep-learning-capable device ...
Devices that are supported through the AI²-interface can also be set to a deep learning model usingset_dl_model_param. In this case the inference is not executed by HALCON but by the device itself. query_available_dl_devicesreturns a handle for each deep-learning-capable device supported ...
ImageWidth := 256ImageHeight := 256Complexity := 15query_available_dl_devices ('runtime', 'id', 'gpu', 0, DLDevice)read_dl_model ('initial_dl_anomaly_medium.hdl', DLModelHandle)set_dl_model_param (DLModelHandle, 'image_width', ImageWidth)set_dl_model_param (DLModelHandle, 'image...
QueryAvailableDlDevices这句代码在HDevelop里面能正常打印出CPU和GPU的值,但是到了C#里面直接报错提示...
HalconHelper.create_dl_preprocess_param_from_model(hv_DLModelHandle, "false", "full_domain", new HTuple(), new HTuple(), new HTuple(), out hv_DLPreprocessParam); HOperatorSet.QueryAvailableDlDevices("runtime", "cpu", out hv_DLDeviceHandles); HOperatorSet.SetDlModelParam(hv_DLModel...
query_available_dl_devices ('runtime', 'cpu', DLDeviceHandle) * 设置OCR使用的设备 set_deep_ocr_param (DeepOcrHandle, 'device', DLDeviceHandle) * 记录开始时间 count_seconds(StartTime) * 执行OCR apply_deep_ocr (Image, DeepOcrHandle, 'auto', DeepOcrResult) ...
1、set_dl_model_param(DLModelHandle, 'gpu', GpuId) GpuId=0 选中第一块显卡做深度学习训练。 GpuId=1 选中第二块显卡做深度学习训练。 类推 查询可用多显卡信息 query_available_compute_devices(DeviceIdentifier) //一块显卡输出[0],两块是[0,1],依次类推 ...
read_dl_model (RetrainedModelFileName, DLModelHandle) read_dict (PreprocessParamFileName, [], [], DLPreprocessParam) 左滑查看更多 2. 导入推理图像并生成深度学习样本: * Read the images of the batch. read_image (ImageBatch, Batch) * Generate the DLSampleBatch. ...
5.使用openvino, query_available_dl_devices('ai_accelerator_interface','openvino',DLDeviceHandles), 说明:21.05要使用openvino需要从21.11版本提取相关文件。 1.c:\Program Files\MVTec\HALCON-21.05-Progress\bin\x64-win64\目录下需有以下hAI2ibOpenVINOLoader.dll,hAI2OpenVINO.dll ...