NatML Versions Save

High performance, cross-platform machine learning for Unity Engine. Register at https://hub.natml.ai

1.1.5

1 year ago
  • Added support for Safari 16.4, bringing NatML to 88% of browsers.
  • Added MLArrayFeature.CopyTo method overload that accepts a Texture2D.
  • Added MLEdgeModel.Create method overload that accepts a NatMLClient instance in place of an accessKey.
  • Added MLCloudModel.Create method overload that accepts a NatMLClient instance in place of an accessKey.
  • Added Feature.dictValue field for working with dictionary features.
  • Refactored Dtype.Sequence enumeration member to Dtype.List.
  • Refactored Dtype.Dictionary enumeration member to Dtype.Dict.
  • Removed MLCloudModel.Predict method overload that accepts a Dictionary<string, MLFeature>.
  • Removed MLImageFeature.RegionOfInterest method.

1.1.4

1 year ago
  • Added NatML.API namespace for accessing the full NatML web API from .NET.
  • Fixed MLEdgeModel.Create method blocking for a long time on Android and Windows (#49).
  • Fixed MLEdgeModel.Create method throwing error when called from non-Unity threads.
  • Updated default edge prediction configuration to use the CPU and neural processor (and not the GPU) on Android (#49).
  • Refactored MLDepthFeature.ViewportToWorldPoint method to Unproject.
  • Removed MLEdgeModel.AudioFormat struct. Use NatML.API.Types.AudioFormat class instead.
  • Removed MLEdgeModel.Normalization struct. Use NatML.API.Types.Normalization class instead.
  • Removed MLImageFeature.AspectMode enumeration. Use NatML.API.Types.AspectMode enumeration instead.
  • Removed MLAudioType.FromAudioClip utility method.
  • Removed MLAudioType.FromVideoClip utility method.
  • Removed MLVideoType.FromVideoClip utility method.

1.1.3

1 year ago
  • Added support for making edge predictions on the GPU on Android with MLEdgeModel.ComputeTarget.GPU.
  • Fixed MLEdgeModel.Predict sporadically crashing on Android.

1.1.2

1 year ago
  • Added support for CoreML models that consume pixel buffers (CVPixelBufferRef) instead of multi-arrays.
  • Fixed MLEdgeModel.Create ignoring configuration argument when model is fetched from NatML Hub.
  • Fixed MLAsyncPredictor accumulating massive amounts of memory on iOS and macOS.
  • Refactored MLTextFeature class to MLStringFeature.
  • Refactored MLTextType class to MLStringType.
  • Refactored MLModelDataEmbed attribute to MLEdgeModel.Embed.

1.1.1

1 year ago
  • Added model embedding support for encrypted models.

1.1.0

1 year ago
  • Added MLCloudModel class for making predictions with predictor endpoints.
  • Added MLEdgeModel.Create methods for creating an edge model from a predictor tag or an MLModelData instance.
  • Added MLEdgeModel.ComputeTarget enumeration for specifying the compute target for model predictions.
  • Added MLEdgeModel.Configuration data class for configuring the edge model creation process.
  • Added MLEdgeModel.labels property for inspecting classification labels required by the model.
  • Added MLEdgeModel.aspectMode property for inspecting the aspect mode required in image data consumed by the model.
  • Added MLEdgeModel.audioFormat property for inspecting the audio format required in audio data consumed by the model.
  • Added support for model encryption, protecting your valuable intellectual property.
  • Added support for pinning MLArrayFeature instances with fixed statements.
  • Added support for pinning MLImageFeature instances with fixed statements.
  • Added MLArrayFeature constructor from an MLCloudFeature for making predictions with predictor endpoints.
  • Added MLImageFeature constructor from an MLCloudFeature for making predictions with predictor endpoints.
  • Added MLTextFeature constructor from an MLCloudFeature for making predictions with predictor endpoints.
  • Added MLArrayFeature.CopyTo(MLImageFeature) method for copying image data from one image feature to another.
  • Added MLImageFeature.CopyTo(MLImageFeature) method for copying image data from one image feature to another.
  • Added implicit conversion from float to MLFeature.
  • Added implicit conversion from int to MLFeature.
  • Added implicit conversion from bool to MLFeature.
  • Added implicit conversion from int[] to MLFeature.
  • Updated MLImageFeature class to be sealed thus preventing inheritance.
  • Updated float[] implicit conversion to MLArrayFeature to have a 1D shape instead of a null shape.
  • Refactored MLModelData.ComputeTarget enumeration to MLEdgeModel.ComputeTarget.
  • Refactored MLModelData.Normalization enumeration to MLEdgeModel.Normalization.
  • Refactored MLModelData.AudioFormat enumeration to MLEdgeModel.AudioFormat.
  • Deprecated MLImageFeature.RegionOfInterest method. Use MLImageFeature.CopyTo method instead.
  • Deprecated MLModelData.ComputeTarget.CPUOnly enumeration member. Use ComputeTarget.CPU instead.
  • Removed MLEdgeModel constructor. Use MLEdgeModel.Create method instead.
  • Removed MLModelData.Deserialize method. Use MLEdgeModel.Create method instead.
  • Removed MLModelData.FromHub method. Use MLEdgeModel.Create method instead.
  • Removed MLModelData.FromFile method. Use MLEdgeModel.Create method instead.
  • Removed MLModelData.tag property.
  • Removed MLModelData.computeTarget property. Use MLEdgeModel.Configuration.computeTarget property instead.
  • Removed MLModelData.computeDevice property. Use MLEdgeModel.Configuration.computeDevice property instead.
  • Removed MLModelData.labels property. Use MLEdgeModel.labels property instead.
  • Removed MLModelData.normalization property. Use MLEdgeModel.normalization property instead.
  • Removed MLModelData.audioFormat property. Use MLEdgeModel.audioFormat property instead.
  • Removed MLModelData.ComputeTarget enumeration.
  • Removed MLArrayFeature.CopyTo(T[]) method overload.
  • Removed MLArrayFeature.CopyTo(NativeArray<T>) method overload.
  • Removed MLArrayFeature.CopyTo(T*) method overload.
  • Removed MLImageFeature.CopyTo(T[]) method overload.
  • Removed MLImageFeature.CopyTo(NativeArray<T>) method overload.
  • Removed MLImageFeature.CopyTo(T*) method overload.
  • NatML now requires iOS 14+.

1.0.19

1 year ago
  • Added MLEdgeModel public constructor and moved the class to the top-level NatML namespace.
  • Fixed app storage size increasing everytime that MLModelData.Deserialize was invoked on iOS.
  • Deprecated MLModelData.Deserialize method. Use MLEdgeModel constructor instead.

1.0.18

1 year ago
  • NatML now defaults to accelerating predictions on Windows by using the GPU. This results in much better performance and lower CPU usage for many models.
  • Added MLModelData.computeTarget property for specifying the compute target used for prediction.
  • Added MLModelData.computeDevice property for specifying the compute device used for prediction.
  • Added MLImageFeature.CopyTo overloads that accepted pixel buffers in managed and unmanaged memory.
  • Fixed MLImageFeature producing incorrect prediction results on WebGL.
  • Fixed rare crash when calling MLModelData.Deserialize on low-end Android devices.

1.0.17

1 year ago
  • Upgraded to Hub 1.0.12.

1.0.16

1 year ago
  • Refactored MLDepthFeature.TransformPoint method to ViewportToWorldPoint.
  • Removed MLImageFeature.CopyTo overloads that accepted pixel buffers. Use Texture2D overload instead.
  • Removed MLImageFeature.ToTexture method. Use MLImageFeature.CopyTo method instead.