Sentis overview
Sentis is a neural network inference library for Unity. The package is in a "pre-release" state in an open beta program available to all Unity users via the package manager. The features and documentation may change before it is verified for release near the end of 2024. If you would like to release a commercial project with Sentis before it is released, please reach out to bill.cullen@unity3d.com.
Visit the Unity Discussions Sentis topic for more information, communications from our team, and to collaborate with other beta users. If you have an interesting project that would like to collaborate with Unity on, please submit this form and we'll be excited to speak with you.
You can use Sentis to import trained neural network models into Unity, and then run them in real-time locally on any runtime platform that Unity supports. Models can be deployed on either the GPU or the CPU.
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 the sample projects, and get started. |
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 supports all the platforms Unity supports.
How long a model takes to run depends on the complexity of the model, the platform, and the engine type you use. Refer to Models and Create an engine for more information.
Supported model types
Sentis supports most models in ONNX format with an opset version between 7 and 15. Refer to Supported ONNX operators for more information.
Places to find pre-trained models
There are many places to find pre-trained models either already in the ONNX format or in a format that you can convert. Some popular places include:
- Huggingface 🤗 A huge database. Many of the newest models are posted here.
- Kaggle Models Formerly Tensorflow Hub.
- Pytorch Hub A repository from PyTorch.
- Model Zoo Many smaller older models that work very fast. Now being updated with newer models.
- XetData Model Zoo but with some newer models.
- Meta Research Formerly known as Facebook Research hosts some popular larger models.
For training your own models you may want to check out:
- Google Colab A space to train models online
- Kaggle A popular machine learning commnuity