unreal.MLDeformerPythonTrainingModel

class unreal.MLDeformerPythonTrainingModel(outer=None, name='None')

Bases: unreal.Object

MLDeformer Python Training Model

C++ Source:

  • Plugin: MLDeformer

  • Module: MLDeformerEditor

  • File: MLDeformerPythonTrainingModel.h

Editor Properties: (see get_editor_property/set_editor_property)

  • data_set_interface (MLPytorchDataSetInterface): [Read-Write] Data Set Interface

create_data_set_interface() None

Create the dataset interface from the editor data. Such an interface provides the samples for training the model.

property data_set_interface

[Read-Only] Data Set Interface

Type

(MLPytorchDataSetInterface)

classmethod get() MLDeformerPythonTrainingModel

Get

Return type

MLDeformerPythonTrainingModel

get_deformer_asset() MLDeformerAsset

Get the current ML deformer asset. *

Return type

MLDeformerAsset

train() int32

Train model using training settings and metadata from the interface. This function is implemented in the python scripts.

Return type

int32