Quantcast
Channel: AI Beta - Unity Discussions
Browsing all 109 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Possible memory leak in 0-dimensional tensors

While playing around with different models on CPU and GPU, I noticed that in tensors where one dimension is 0, the tensorOnDevice value is sometimes null. I couldn’t reproduce the error reliably (so...

View Article


Is there a code example where I can check if the audio file exists in the...

Is there a code example where I can check if the audio file exists in the onnx model 3 posts - 1 participant Read full topic

View Article


Sentis release

When are you going to officially release the Sentis package? 3 posts - 2 participants Read full topic

View Article

An object detection example?

Hey there. Is there any object detection example with Sentis and the use of a WebCam or the phone camera? I believe this is a request that many of us have, especially when using Sentis in an AR app 2...

View Article

Understand-sentis-workflow / ClassifyHandwrittenDigit example import error

Download a handwriting recognition ONNX model file, for example the MNIST Handwritten Digit Recognition model mnist-8.onnx from the ONNX Model Zoo, and drag it into the Assets folder of the Project...

View Article


App crashes when evaluating model with GPU compute on some Android devices

I am able to run my model on my laptop, and on CPU on mobile, but when running with GPUCompute the app crashes on a Motorola G9 Play (Android 11) device. However, the app runs on a Pixel 7 Pro...

View Article

Image may be NSFW.
Clik here to view.

Can someone please help me integrate an object detection model with Sentis?

I am currently working on an AR iOS app. I want to use this object detection model in real time to detect stairs. How can I do so with sentis? I heard that there aren’t any official sample code for...

View Article

Image may be NSFW.
Clik here to view.

Exporting YOLOv8 to ONNX

Hello, I’m wondering if my procedure to use a YOLOv8 model in Sentis is correct. I export the model to ONNX format with Ultralytics package like this: model = YOLO('weights/best.pt') # load an...

View Article


Global Game Jam (reminder)

There will probably be some more official announcements on this later but I thought I’d just remind people about the Global Game Jam happening this week. 22-28 January. And that is also a good...

View Article


Image may be NSFW.
Clik here to view.

MiDaS Depth Estimation

I’ve converted most of the available MiDaS models to onnx and uploaded them on GitHub as part of a package to use them with Sentis in case it’s useful to people. GitHub · Documentation · OpenUPM ·...

View Article

How to import model from a sub-folder of Assets

Hi there, Thank you for this great project! I want to import a model file (onnx) from a sub-folder of Assets, more specifically Assets/StreamingAssets. How can I do that? Thank you! 5 posts - 3...

View Article

Image may be NSFW.
Clik here to view.

Find the right AI model for your game with Unity and Hugging Face

Our neural engine for bringing AI models to Unity – Unity Sentis – announces a new integration with Hugging Face, plus some product updates for the tool. Learn more 1 post - 1 participant Read full...

View Article

Image may be NSFW.
Clik here to view.

Mechine Learning (ML-Agents)

Hello So I’m learning about machine learning (ML-agents). I experienced problems when I installed the mlagents Python package. even though I have followed the documentation on GitHub. Can anyone help...

View Article


Image may be NSFW.
Clik here to view.

Segmentation Results seem to be shifted when updating from 1.3.0-pre.2 to...

I have implemented semantic segmentation by DeepLab v3 using Unity Sentis. It seems to be working fine using Sentis 1.3.0-pre.2. But, the segmented mask seems to be shifted when updating to Sentis...

View Article

Image may be NSFW.
Clik here to view.

What's wrong with this Yolov8n example?

The YOLOv7tiny example with the COCO datatset in HuggingFace works fine. I tried to use the same example with a YOLOv8n ONNX model that I converted from the official ultralytics site with the...

View Article


Image may be NSFW.
Clik here to view.

Stable Diffusion (diffusers + transformers package)

Today I wanted to share an early preview of some work I’ve done to run Stable Diffusion in with Sentis: com.doji.diffusers com.doji.transformers I ported the ClipTokenizer from...

View Article

Image may be NSFW.
Clik here to view.

Created a Small Language Model that is only good at spelling :P

You could achieve this without ML with pattern matching buy hey, at least now I understand how to create simple language models 1 post - 1 participant Read full topic

View Article


Some inquiries about the BlazeFace template

First I want to say that I appreciate the work that the Unity team is doing in making Sentis more accessible by providing examples. I’ve tried the sentis blazeface template from hugging face and I...

View Article

Image may be NSFW.
Clik here to view.

Featured projects for GDC!

Hi everyone! We are looking for some new and amazing Sentis-based projects to feature at the annual Game Developers Conference the week of February 18th in San Francisco, CA. Just submit this form and...

View Article

TreeEnsembleClassifier (and other scikit pckages) not supported

Hi there, I’m building a model using scikit-learn, and converting it to ONXX with skl2onnx. I’m running into several “not supported” errors when importing into Unity, related to the following...

View Article
Browsing all 109 articles
Browse latest View live