digital-standard / ThreeDPoseUnityBarracuda

Unity sample of 3D pose estimation using Barracuda
1.46k stars 277 forks source link

IndexOutOfRangeException: Invalid kernelIndex (131) passed, must be non-negative less than 155. #36

Open immortarDark opened 3 years ago

immortarDark commented 3 years ago

I used .onnx from download.When i run Play mode.Error happen.

IndexOutOfRangeException: Invalid kernelIndex (131) passed, must be non-negative less than 155.
Unity.Barracuda.ComputeFunc..ctor (UnityEngine.ComputeShader[] cs, System.String kn) (at Library/PackageCache/com.unity.barracuda@1.0.4/Barracuda/Runtime/Core/Backends/BarracudaReferenceCompute.cs:1780)
Unity.Barracuda.ReferenceComputeOps.TextureToTensorData (Unity.Barracuda.TextureAsTensorData texData, System.String name) (at Library/PackageCache/com.unity.barracuda@1.0.4/Barracuda/Runtime/Core/Backends/BarracudaReferenceCompute.cs:722)
Unity.Barracuda.ReferenceComputeOps.Pin (Unity.Barracuda.Tensor X) (at Library/PackageCache/com.unity.barracuda@1.0.4/Barracuda/Runtime/Core/Backends/BarracudaReferenceCompute.cs:687)
Unity.Barracuda.ReferenceComputeOps.Prepare (Unity.Barracuda.Tensor X) (at Library/PackageCache/com.unity.barracuda@1.0.4/Barracuda/Runtime/Core/Backends/BarracudaReferenceCompute.cs:1676)
Unity.Barracuda.StatsOps.Unity.Barracuda.IOps.Prepare (Unity.Barracuda.Tensor X) (at Library/PackageCache/com.unity.barracuda@1.0.4/Barracuda/Runtime/Core/Backends/StatsOps.cs:525)
Unity.Barracuda.GenericWorker.SetInput (System.String name, Unity.Barracuda.Tensor x) (at Library/PackageCache/com.unity.barracuda@1.0.4/Barracuda/Runtime/Core/Backends/GenericWorker.cs:90)
Unity.Barracuda.GenericWorker.StartManualSchedule (System.Collections.Generic.IDictionary`2[TKey,TValue] inputs) (at Library/PackageCache/com.unity.barracuda@1.0.4/Barracuda/Runtime/Core/Backends/GenericWorker.cs:128)
VNectBarracudaRunner+<WaitLoad>d__37.MoveNext () (at Assets/Scripts/VNectBarracudaRunner.cs:184)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <95ca2d9cf774493facdfcac0685ed8ab>:0)
UnityEngine.MonoBehaviour:StartCoroutine(String)
VNectBarracudaRunner:Start() (at Assets/Scripts/VNectBarracudaRunner.cs:165)
Robin-Mo commented 1 year ago

Hi,i encount same issuse,do you slove it?