Sentis overview
Sentis is a neural network inference library for Unity. The package is in a "release" state and available to all Unity users via the package manager.
You can use Sentis to import trained neural network models into Unity, and then run them in real-time. Sentis utilizes the end-users device compute (GPU or CPU) and can run any supported Unity runtime platform.
To use Sentis, it helps if you have some experience in using machine learning models, for example in a framework like TensorFlow or PyTorch.
Section | Description |
---|---|
Get started | Install Sentis, find and use sample projects, and understand the Sentis workflow. |
Create a model | Create a runtime model by importing an ONNX model file or using the Sentis model API. |
Run a model | Create input data for a model, create an engine to run the model, and get output. |
Use Tensors | Get, set and modify input and output data. |
Profile a model | Use Unity tools to profile the speed and performance of a model. |
Supported platforms
Sentis works on all Unity runtime platforms.
Performance may vary and is based upon:
- Model operators and complexity.
- End-user hardware and software platform constraints.
- Type of engine used. Refer to Models and Create an engine for more information.
Supported model types
Sentis supports most models in Open Neural Network Exchange (ONNX) format with an opset version between 7 and 15. Refer to Supported models and Supported ONNX operators for more information.
Places to find pre-trained models
There are various sources to find pre-trained models, which may either be available in the ONNX format or in a format that you can convert. Examples include:
- Hugging Face
- Kaggle Models (Formerly TensorFlow Hub)
- PyTorch Hub
- Model Zoo
- XetData
- Meta Research
If you want to train your own models, refer to the following links: