MLModelData
class..mlmodel
), ONNX (.onnx
), and TensorFlow Lite (.tflite
) models. Simply drag and drop the model file into your Unity project. The model file is imported as an MLModelData
instance.MLModelData
class contains supplementary data needed to make predictions with the model. For example, when using a classification model, you will need a list of class labels which correspond to the model's output probabilities. The MLModelData
class encapsulates all of the information needed to both load a model, and make predictions with it.MLModelData
class provides these class labels:MLImageFeature
when creating input data for a model:MLImageFeature
when creating an input feature for prediction:MLAudioFeature
when creating an input feature for prediction: