Search Unity

Question Strikers Vs. Goalie learning

Discussion in 'ML-Agents' started by Depri0n, Jul 3, 2022.

  1. Depri0n

    Depri0n

    Joined:
    Nov 20, 2019
    Posts:
    5
    Hi, Goalie and Strikers have the same scripts, but different neural networks and behavior names.
    How were they trained?
    In the documentation, I found only "self play", but for commands that perform the same actions. In this case, the commands have different actions. And such a "self play" leads to one neural network.

    I tried to run two consoles to train two different neural networks, but one of them failed to connect. Do I need to use different ports?

    https://github.com/Unity-Technologies/ml-agents/tree/main/Project/Assets/ML-Agents/Examples/Soccer
     
  2. GamerLordMat

    GamerLordMat

    Joined:
    Oct 10, 2019
    Posts:
    185
    Have you looked into the config? There should be two different agents listed. Start training with one console.
    to be honest I dont know if that produces two brains or just one
     
  3. Depri0n

    Depri0n

    Joined:
    Nov 20, 2019
    Posts:
    5
  4. GamerLordMat

    GamerLordMat

    Joined:
    Oct 10, 2019
    Posts:
    185