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.

Feature Request Training without Python

Discussion in 'ML-Agents' started by NeuralNotworks, Aug 3, 2023.

  1. NeuralNotworks

    NeuralNotworks

    Joined:
    Jul 22, 2023
    Posts:
    6
    Please let me know if I'm asking in the wrong channel.

    I wonder if you have considered adding a feature of training ML models inside the gameplay? AFAIK, the current ML-Agent package allows us to use Unity for virtual environments, but the training is taken care of by Python. If training is possible with only, say C#, then we can develop games in which we train our own AI's.

    Or is this already possible with some other packages?
     
  2. macsimilian

    macsimilian

    Joined:
    Sep 19, 2020
    Posts:
    25
    ML Agents uses TensorFlow under the hood. ML Agents entirely inside Unity could potentially be possible since there is a JavaScript version of TensorFlow, and Unity uses JavaScript.
     
  3. NeuralNotworks

    NeuralNotworks

    Joined:
    Jul 22, 2023
    Posts:
    6
    Thanks for the answer, macsimilian! This is indeed possible! A quick search showed that there were already people did this, such as the in-browser demo in this blog post.