Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Resolved How does Unity handle a trained ML-Agent at runtime?

Discussion in 'ML-Agents' started by RankNFyle, Mar 27, 2021.

  1. RankNFyle

    RankNFyle

    Joined:
    Jan 4, 2021
    Posts:
    31
    Under the hood, how does Unity run a trained NN model at runtime? A trained NN model usually means a (big) file with weights, biases etc. Where would I find this file, once a model has been trained? Also, NN code is usually needed to run a model. In games with AI agents, does Unity run some NN package to load up and handle this training file? If so, what is this NN package, PyTorch? Seems to me, it would be a challenge to run something like this on mobile devices. If there are any resources that discuss this, please let me know. Thanks.
     
  2. mbaske

    mbaske

    Joined:
    Dec 31, 2017
    Posts:
    473
    NT_Ninetails likes this.
  3. RankNFyle

    RankNFyle

    Joined:
    Jan 4, 2021
    Posts:
    31
    Cool, thanks.