Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Resolved Train a ML-agent with # curiosity module

Discussion in 'ML-Agents' started by XXXXchris, Apr 6, 2021.

  1. XXXXchris

    XXXXchris

    Joined:
    Jan 24, 2021
    Posts:
    10
    Hi, I used ML-agent train agent with curiosity, so How can I record the agent’s intrinsic and extrinsic rewards for every observation and timestep?
     
  2. XXXXchris

    XXXXchris

    Joined:
    Jan 24, 2021
    Posts:
    10
    or how do I record the rewards for every observation and timestep?
     
  3. andrewcoh_unity

    andrewcoh_unity

    Unity Technologies

    Joined:
    Sep 5, 2019
    Posts:
    162
    The cumulative reward per timestep for all reward signals is reported in tensorboard. Are you asking for a different statistic than this?
     
  4. XXXXchris

    XXXXchris

    Joined:
    Jan 24, 2021
    Posts:
    10
    Yes, when I use curiosity configuration, how can I distinguish between intrinsic and extrinsic rewards? so In Ml-agent, the only statistic I can know is the cumulative reward per timestep for all reward signals?
     
  5. andrewcoh_unity

    andrewcoh_unity

    Unity Technologies

    Joined:
    Sep 5, 2019
    Posts:
    162
    If you open the Policy tab in tensorboard, you will see Curiosity Reward and Extrinsic Reward as separate plots.
     
  6. XXXXchris

    XXXXchris

    Joined:
    Jan 24, 2021
    Posts:
    10
    got it, thanks.