Search Unity

  1. All Pro and Enterprise subscribers: find helpful & inspiring creative, tech, and business know-how in the new Unity Success Hub. Sign in to stay up to date.
    Dismiss Notice
  2. Dismiss Notice

Help Wanted Unable to use trained brain model

Discussion in 'ML-Agents' started by unity_1574E6C0E78C759DB5BB, Jun 1, 2021.

  1. unity_1574E6C0E78C759DB5BB

    unity_1574E6C0E78C759DB5BB

    Joined:
    Jun 1, 2021
    Posts:
    1
    When I try to copy the .onnx file into assets, Unity gives me the following error:
    Asset import failed, "Assets/PlayGame.onnx" > AssertionException: Assertion failure. Values are not equal.
    Expected: 3 == 4

    I have no idea what is causing this and what to do about this.

    When I tried to copy it into the example project in the ml-agents repository, it seems to work fine
     
    Last edited: Jun 1, 2021
  2. vincentpierre

    vincentpierre

    Unity Technologies

    Joined:
    May 5, 2017
    Posts:
    142
    Not sure what could be wrong with the model, it might be due to a difference between the barracuda versions installed in your two projects. Can you verify the versions match ?
     
unityunity