create_dl_transform_pipelineT_create_dl_transform_pipelineCreateDlTransformPipelineCreateDlTransformPipelinecreate_dl_transform_pipeline (Operator)
Name
create_dl_transform_pipelineT_create_dl_transform_pipelineCreateDlTransformPipelineCreateDlTransformPipelinecreate_dl_transform_pipeline — Create a pipeline of transforms for the training of a deep learning model.
Signature
void CreateDlTransformPipeline(const HTuple& Transforms, const HTuple& GenParamName, const HTuple& GenParamValue, HTuple* TransformPipeline)
static HDlTransformPipeline HDlTransform::CreateDlTransformPipeline(const HDlTransformArray& Transforms, const HTuple& GenParamName, const HTuple& GenParamValue)
HDlTransformPipeline HDlTransform::CreateDlTransformPipeline(const HTuple& GenParamName, const HTuple& GenParamValue) const
void HDlTransformPipeline::HDlTransformPipeline(const HDlTransformArray& Transforms, const HTuple& GenParamName, const HTuple& GenParamValue)
void HDlTransformPipeline::HDlTransformPipeline(const HDlTransform& Transforms, const HTuple& GenParamName, const HTuple& GenParamValue)
void HDlTransformPipeline::CreateDlTransformPipeline(const HDlTransformArray& Transforms, const HTuple& GenParamName, const HTuple& GenParamValue)
void HDlTransformPipeline::CreateDlTransformPipeline(const HDlTransform& Transforms, const HTuple& GenParamName, const HTuple& GenParamValue)
static void HOperatorSet.CreateDlTransformPipeline(HTuple transforms, HTuple genParamName, HTuple genParamValue, out HTuple transformPipeline)
static HDlTransformPipeline HDlTransform.CreateDlTransformPipeline(HDlTransform[] transforms, HTuple genParamName, HTuple genParamValue)
HDlTransformPipeline HDlTransform.CreateDlTransformPipeline(HTuple genParamName, HTuple genParamValue)
public HDlTransformPipeline(HDlTransform[] transforms, HTuple genParamName, HTuple genParamValue)
public HDlTransformPipeline(HDlTransform transforms, HTuple genParamName, HTuple genParamValue)
void HDlTransformPipeline.CreateDlTransformPipeline(HDlTransform[] transforms, HTuple genParamName, HTuple genParamValue)
void HDlTransformPipeline.CreateDlTransformPipeline(HDlTransform transforms, HTuple genParamName, HTuple genParamValue)
Description
The operator create_dl_transform_pipelinecreate_dl_transform_pipelineCreateDlTransformPipelineCreateDlTransformPipelinecreate_dl_transform_pipeline creates a pipeline of
transforms TransformsTransformsTransformstransformstransforms for transforming a batch of samples
prior to their use in train_dl_model_batchtrain_dl_model_batchTrainDlModelBatchTrainDlModelBatchtrain_dl_model_batch and apply_dl_modelapply_dl_modelApplyDlModelApplyDlModelapply_dl_model.
Transforms may include adaptation of image dimensions or gray value range
as well as augmentation methods.
The execution order of the transforms is defined by their order in the
tuple TransformsTransformsTransformstransformstransforms. The execution is performed with the operator
transform_dl_sample_batchtransform_dl_sample_batchTransformDlSampleBatchTransformDlSampleBatchtransform_dl_sample_batch.
The following generic parameters GenParamNameGenParamNameGenParamNamegenParamNamegen_param_name and the corresponding
values GenParamValueGenParamValueGenParamValuegenParamValuegen_param_value are supported:
- 'fill_value'"fill_value""fill_value""fill_value""fill_value":
-
Value used to fill the padded regions if required by the transforms.
Restriction:
Only values of type integer or float are allowed.
Default:
0.0.
- 'bbox_min_side_length'"bbox_min_side_length""bbox_min_side_length""bbox_min_side_length""bbox_min_side_length":
-
Minimum allowed side length of a transformed box instance. Smaller
box instances are not transferred to output.
Default:
2
- 'instance_min_visibility'"instance_min_visibility""instance_min_visibility""instance_min_visibility""instance_min_visibility":
-
Minimum allowed visibility fraction of a transformed instance.
Instances with lower visibility are not transferred to output.
Default:
0.5
- 'ignore_direction'"ignore_direction""ignore_direction""ignore_direction""ignore_direction":
-
Determines whether directions of oriented bounding boxes shall be
used ('false'"false""false""false""false") or ignored ('true'"true""true""true""true").
Only for transformation of samples for detection models of
'instance_type'"instance_type""instance_type""instance_type""instance_type" = 'rectangle2'"rectangle2""rectangle2""rectangle2""rectangle2".
List of values:
'true'"true""true""true""true", 'false'"false""false""false""false"
Default:
'false'"false""false""false""false"
Note that additionally 'class_ids_no_orientation'"class_ids_no_orientation""class_ids_no_orientation""class_ids_no_orientation""class_ids_no_orientation" can be set
using set_dl_transform_pipeline_paramset_dl_transform_pipeline_paramSetDlTransformPipelineParamSetDlTransformPipelineParamset_dl_transform_pipeline_param.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Automatically parallelized on internal data level.
This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.
Parameters
TransformsTransformsTransformstransformstransforms (input_control) dl_transform(-array) → HDlTransform, HTupleMaybeSequence[HHandle]HTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Tuple with the transform handles
GenParamNameGenParamNameGenParamNamegenParamNamegen_param_name (input_control) attribute.name-array → HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Names of the generic parameters that can be adjusted
for the transform pipeline.
Default:
[]
List of values:
'bbox_min_side_length'"bbox_min_side_length""bbox_min_side_length""bbox_min_side_length""bbox_min_side_length", 'fill_value'"fill_value""fill_value""fill_value""fill_value", 'ignore_direction'"ignore_direction""ignore_direction""ignore_direction""ignore_direction", 'instance_min_visibility'"instance_min_visibility""instance_min_visibility""instance_min_visibility""instance_min_visibility"
GenParamValueGenParamValueGenParamValuegenParamValuegen_param_value (input_control) attribute.value-array → HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Values of the generic parameters that can be adjusted
for the transform pipeline.
Default:
[]
Suggested values:
0.0
TransformPipelineTransformPipelineTransformPipelinetransformPipelinetransform_pipeline (output_control) dl_transform_pipeline → HDlTransformPipeline, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Transform pipeline handle
Possible Predecessors
create_dl_transform_flipcreate_dl_transform_flipCreateDlTransformFlipCreateDlTransformFlipcreate_dl_transform_flip,
create_dl_transform_normalizecreate_dl_transform_normalizeCreateDlTransformNormalizeCreateDlTransformNormalizecreate_dl_transform_normalize,
create_dl_transform_random_cropcreate_dl_transform_random_cropCreateDlTransformRandomCropCreateDlTransformRandomCropcreate_dl_transform_random_crop,
create_dl_transform_random_geometriccreate_dl_transform_random_geometricCreateDlTransformRandomGeometricCreateDlTransformRandomGeometriccreate_dl_transform_random_geometric,
create_dl_transform_random_hsvcreate_dl_transform_random_hsvCreateDlTransformRandomHsvCreateDlTransformRandomHsvcreate_dl_transform_random_hsv,
create_dl_transform_resizecreate_dl_transform_resizeCreateDlTransformResizeCreateDlTransformResizecreate_dl_transform_resize
Possible Successors
get_dl_transform_pipeline_paramget_dl_transform_pipeline_paramGetDlTransformPipelineParamGetDlTransformPipelineParamget_dl_transform_pipeline_param,
set_dl_transform_pipeline_paramset_dl_transform_pipeline_paramSetDlTransformPipelineParamSetDlTransformPipelineParamset_dl_transform_pipeline_param,
transform_dl_sample_batchtransform_dl_sample_batchTransformDlSampleBatchTransformDlSampleBatchtransform_dl_sample_batch
Module
Foundation