Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to leverage NPU on edge device? #1296

Open
tazket opened this issue Jan 10, 2025 · 2 comments
Open

Is it possible to leverage NPU on edge device? #1296

tazket opened this issue Jan 10, 2025 · 2 comments
Assignees
Labels
type:support Support issue

Comments

@tazket
Copy link

tazket commented Jan 10, 2025

Plugin Version or Commit ID

v0.15.0

Unity Version

2022.3.14f1

Your Host OS

Windows11

Target Platform

Android

Description

We're targeting a set-box style android device, pose landmark runs at around 20 fps on GPU,
The device does have an NPU on board, is it possible to use it?

Code to Reproduce the issue

No response

Additional Context

No response

@tazket tazket added the type:support Support issue label Jan 10, 2025
@homuler homuler self-assigned this Jan 11, 2025
@homuler
Copy link
Owner

homuler commented Jan 13, 2025

I recently implemented support for Edge TPU, which will be included in the next release.
When using the Task API, you can enable NNAPI by specifying Delegate.EDGETPU_NNAPI in the Delegate field of BaseOptions.
Please give it a try.

public BaseOptions(Delegate delegateCase = Delegate.CPU, string modelAssetPath = null, byte[] modelAssetBuffer = null)

If you are using a custom CalculatorGraph, please try specifying the delegate for TFLite.

@flysur
Copy link

flysur commented Jan 16, 2025

If you are using a custom CalculatorGraph, please try specifying the delegate for TFLite.

I Note that Pose landmark detection not support custom model。
企业微信截图_17369944714489

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:support Support issue
Projects
None yet
Development

No branches or pull requests

3 participants