Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question Can TensorBoard Training Stats be Accessed from Agent C# Script?

Discussion in 'ML-Agents' started by pnut76, Nov 23, 2020.

  1. pnut76


    Nov 23, 2020
    Hi -

    I'm interested in computing correlations between the Training Statistics that are written to TensorBoard and also viewing these correlations in TensorBoard, but I can't quite figure out which scripts to put the formulas in.

    Is there a way for me to access the TensorBoard stats (entropy, value loss, etc.) from the agent's C# script so that I can implement the formulas there, and then send them to TensorBoard via StatsRecorder?

    If not, which ML-Agents Python scripts should I add the formulas to? My initial guess was but I'm not convinced that it's the only Python script that would have to be modified to add this feature....

    Any help would be appreciated!