Search Unity

my stats tag

Discussion in 'ML-Agents' started by LexVolkov, Mar 28, 2020.

  1. LexVolkov

    LexVolkov

    Joined:
    Sep 14, 2014
    Posts:
    62
    In TensorBoard have a tag like:

    Cumulative Reward
    tag: Environment/Cumulative Reward

    How can I do the same with my statistics?
     
  2. celion_unity

    celion_unity

    Joined:
    Jun 12, 2019
    Posts:
    289
    If you put a "/" in the stat name, like "Foo/Bar", Tensorboard will group stats with the same part before the "/".

    Here's an example from the 3DBall scene using "3DBall", "3DBall/Drops", and "3DBall/Agent/Drops" as the stat names.

    upload_2020-3-30_10-27-30.png
     
  3. LexVolkov

    LexVolkov

    Joined:
    Sep 14, 2014
    Posts:
    62
    Thanks It works.
     
  4. LexVolkov

    LexVolkov

    Joined:
    Sep 14, 2014
    Posts:
    62
    This makes no sense.

    I have a training zone.
    It has 4 agents with 4 different brains.
    I record general statistics in the training zone code.

    Like
    m_statsSideChannel?.AddStat("MyStats/Kill Zombie", zombieKilling);


    But the graphics are different for all brains. How can it be?
     
  5. christophergoy

    christophergoy

    Unity Technologies

    Joined:
    Sep 16, 2015
    Posts:
    735
    Different how? I'm not sure what you mean.
     
  6. LexVolkov

    LexVolkov

    Joined:
    Sep 14, 2014
    Posts:
    62
    this like
     

    Attached Files:

    • dif.JPG
      dif.JPG
      File size:
      39.1 KB
      Views:
      328
  7. christophergoy

    christophergoy

    Unity Technologies

    Joined:
    Sep 16, 2015
    Posts:
    735
    I'm still not grasping what the issue is. What are you expecting to see with 4 different brains, and what is it that you are actually seeing?

    Based on what you've said so far:
    I would imagine that you'd want to see 4 different graphs, one for each brain.