Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Question Assign an onnx asset to the "Model Asset" field in code?

Discussion in 'ML-Agents' started by RankNFyle, Dec 8, 2021.

  1. RankNFyle

    RankNFyle

    Joined:
    Jan 4, 2021
    Posts:
    31
    Can the following be done programmatically, that is, from within the C# code:
    1) Assign an onnx (stored as an asset) to the "Model Asset" field
    2) Copy/move assets within the asset folders