transform_dl_sample_batchT_transform_dl_sample_batchTransformDlSampleBatchTransformDlSampleBatchtransform_dl_sample_batch (Operator)

Name

transform_dl_sample_batchT_transform_dl_sample_batchTransformDlSampleBatchTransformDlSampleBatchtransform_dl_sample_batch — Anwenden einer Pipeline von Transforms auf einer Menge an Bildern.

Signatur

transform_dl_sample_batch( : : TransformPipeline, DLSampleBatch : DLResultBatch)

Herror T_transform_dl_sample_batch(const Htuple TransformPipeline, const Htuple DLSampleBatch, Htuple* DLResultBatch)

void TransformDlSampleBatch(const HTuple& TransformPipeline, const HTuple& DLSampleBatch, HTuple* DLResultBatch)

HDictArray HDlTransformPipeline::TransformDlSampleBatch(const HDictArray& DLSampleBatch) const

static void HOperatorSet.TransformDlSampleBatch(HTuple transformPipeline, HTuple DLSampleBatch, out HTuple DLResultBatch)

HDict[] HDlTransformPipeline.TransformDlSampleBatch(HDict[] DLSampleBatch)

def transform_dl_sample_batch(transform_pipeline: HHandle, dlsample_batch: Sequence[HHandle]) -> Sequence[HHandle]

Beschreibung

Der Operator transform_dl_sample_batchtransform_dl_sample_batchTransformDlSampleBatchTransformDlSampleBatchtransform_dl_sample_batch wandelt ein Sample-Batch zur Verwendung in train_dl_model_batchtrain_dl_model_batchTrainDlModelBatchTrainDlModelBatchtrain_dl_model_batch und apply_dl_modelapply_dl_modelApplyDlModelApplyDlModelapply_dl_model um. Die in TransformPipelineTransformPipelineTransformPipelinetransformPipelinetransform_pipeline definierten Transforms können die Anpassung von Bilddimensionen oder des Grauwertbereichs sowie Augmentierungsmethoden enthalten.

Neben den in DLSampleBatchDLSampleBatchDLSampleBatchDLSampleBatchdlsample_batch enthaltenen Keys image und image_id für Bilddaten werden auch vorhandene Annotationen transformiert. Gegenwärtig werden nur Keys für Modelle zur Objekterkennung (einschließlich Instanz-Segmentierung) unterstützt. Das Verhalten für 'instance_type'"instance_type""instance_type""instance_type""instance_type" = 'rectangle2'"rectangle2""rectangle2""rectangle2""rectangle2" kann durch die Parameter 'ignore_direction'"ignore_direction""ignore_direction""ignore_direction""ignore_direction" und 'class_ids_no_orientation'"class_ids_no_orientation""class_ids_no_orientation""class_ids_no_orientation""class_ids_no_orientation" gesteuert werden, siehe get_dl_transform_pipeline_paramget_dl_transform_pipeline_paramGetDlTransformPipelineParamGetDlTransformPipelineParamget_dl_transform_pipeline_param. Falls DLSampleBatchDLSampleBatchDLSampleBatchDLSampleBatchdlsample_batch Annotationen für andere Modelltypen enthält, kann ein Fehler geworfen werden.

Zusätzlich zu den transformierten Keys enthält DLResultBatchDLResultBatchDLResultBatchDLResultBatchdlresult_batch

Ausführungsinformationen

Parameter

TransformPipelineTransformPipelineTransformPipelinetransformPipelinetransform_pipeline (input_control)  dl_transform_pipeline HDlTransformPipeline, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle der Transform-Pipeline.

DLSampleBatchDLSampleBatchDLSampleBatchDLSampleBatchdlsample_batch (input_control)  dict-array HDict, HTupleSequence[HHandle]HTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Eingabedaten.

DLResultBatchDLResultBatchDLResultBatchDLResultBatchdlresult_batch (output_control)  dict-array HDict, HTupleSequence[HHandle]HTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Ausgabedaten.

Vorgänger

create_dl_transform_pipelinecreate_dl_transform_pipelineCreateDlTransformPipelineCreateDlTransformPipelinecreate_dl_transform_pipeline

Nachfolger

train_dl_model_batchtrain_dl_model_batchTrainDlModelBatchTrainDlModelBatchtrain_dl_model_batch, apply_dl_modelapply_dl_modelApplyDlModelApplyDlModelapply_dl_model

Siehe auch

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

Modul

Foundation