You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you @dong52008. The TextureToTensor using only the CPU version can solve the issue. Supporting legacy Android devices is a low priority, but we may consider supporting them if there is sufficient demand.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Environment (please complete the following information):
Describe the bug
TextureToTensor only provides a method to use ComputeShader, and cannot be used on devices that do not support ComputeShader.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
error message:
TextureToTensor.compute: Kernel at index (0) is invalid
Microsoft.ML.OnnxRuntime.Unity.TextureToTensor
1:Transform(Texture, Matrix4x4&) Microsoft.ML.OnnxRuntime.Unity.TextureToTensor
1:Transform(Texture, AspectMode)Microsoft.ML.OnnxRuntime.Unity.ImageInference
1:PreProcess(Texture) Microsoft.ML.OnnxRuntime.Unity.ImageInference
1:Run(Texture)d__14:MoveNext()System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start(TStateMachine&)
Sample:Detect()d__12:MoveNext()
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem and error logs here.
The text was updated successfully, but these errors were encountered: