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

Having the same issue #23

Open
godspeed1208 opened this issue Mar 16, 2021 · 1 comment
Open

Having the same issue #23

godspeed1208 opened this issue Mar 16, 2021 · 1 comment

Comments

@godspeed1208
Copy link

Hi everyone i am very new to unity and don't know much about using the application so please be patient with me. I am receiving the same error code:

AssertionException: Assertion failure. Values are not equal.
Expected: 3 == 4
UnityEngine.Assertions.Assert.Fail (System.String message, System.String userMessage) (at :0)
UnityEngine.Assertions.Assert.AreEqual[T] (T expected, T actual, System.String message, System.Collections.Generic.IEqualityComparer`1[T] comparer) (at :0)
UnityEngine.Assertions.Assert.AreEqual[T] (T expected, T actual, System.String message) (at :0)
UnityEngine.Assertions.Assert.AreEqual (System.Int32 expected, System.Int32 actual) (at :0)
Unity.Barracuda.PrecompiledComputeOps.Conv2D (Unity.Barracuda.Tensor X, Unity.Barracuda.Tensor K, Unity.Barracuda.Tensor B, System.Int32[] stride, System.Int32[] pad, Unity.Barracuda.Layer+FusedActivation fusedActivation) (at Library/PackageCache/[email protected]/Barracuda/Runtime/Core/Backends/BarracudaPrecompiledCompute.cs:625)
Unity.Barracuda.StatsOps.Unity.Barracuda.IOps.Conv2D (Unity.Barracuda.Tensor X, Unity.Barracuda.Tensor K, Unity.Barracuda.Tensor B, System.Int32[] stride, System.Int32[] pad, Unity.Barracuda.Layer+FusedActivation fusedActivation) (at Library/PackageCache/[email protected]/Barracuda/Runtime/Core/Backends/StatsOps.cs:69)
Unity.Barracuda.GenericWorker+d__30.MoveNext () (at Library/PackageCache/[email protected]/Barracuda/Runtime/Core/Backends/GenericWorker.cs:214)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :0)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
VNectBarracudaRunner:UpdateVNectModel() (at Assets/ThreeDPoseUnityBarracuda-master/ThreeDPoseUnityBarracuda-master/Assets/Scripts/VNectBarracudaRunner.cs:242)
VNectBarracudaRunner:Update() (at Assets/ThreeDPoseUnityBarracuda-master/ThreeDPoseUnityBarracuda-master/Assets/Scripts/VNectBarracudaRunner.cs:173)

I'm using nvidia geforce gtx 660 on windows 10 and install the currenct lastest version of unity and barracuda. can someone tell me what or how i can fix the issue as the avatar model is not moving but the video plays and also please tell me where i should change anything and where is it's location as i don't know where to find new tensor etc thanks alot in advance

@Tsunehiko511
Copy link

Tsunehiko511 commented Mar 21, 2021

VNectBarracudaRunner.csファイルの

    private IEnumerator WaitLoad()
    {
        inputs[inputName_1] = new Tensor(InitImg, 3);
        inputs[inputName_2] = new Tensor(InitImg, 3);
        inputs[inputName_3] = new Tensor(InitImg, 3);

    private void UpdateVNectModel()
    {
        input = new Tensor(videoCapture.MainTexture, 3);
        if (inputs[inputName_1] == null)
        {
            inputs[inputName_1] = input;
            inputs[inputName_2] = new Tensor(videoCapture.MainTexture, 3);
            inputs[inputName_3] = new Tensor(videoCapture.MainTexture, 3);
        }
        else

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

No branches or pull requests

2 participants