Create custom graph to tensorboard

Hello,
There is a simple way to add custom graph of some parameter that change along the learning process to the tensorboard visualization graphs?

Thanks

maybe “Academy.Instance.StatsRecorder.Add” can help u

Where in the script i need to add this ?
i tried in the initialize function and in the fixedUpdate function and the costum graph didnt shown in the tensorboard page

mmm well report things when u need.
for example - i used it when every the agent “bought” something

                    Academy.Instance.StatsRecorder.Add("Attack Unit/Buy/" + attackUnit.name, 1, StatAggregationMethod.Sum);

that helped me understand how many units of the same kind the ML buys - can indicate a blanacing issue (if he buy more of unit A than unit B).

  • tensorboard takes time to update, it will only apear in the board after the agent ran for a while and reported enough steps

This is correct, tensorboard will update every summary_freq steps that you configure in your training configuration. The default is 50,000 steps.