- Home /
How to print the correct accumulated number of steps in Unity during the training period?
Hi. I'm using ML-Agents 1.0.7 ver and Unity 2020.3.9f1.
Like other learning result graphs of tensorboard, I want to create a graph of the number of times an agent succeeds in an episode at a certain step in the training process.
Accordingly, whenever the agent succeeded in an episode in Unity, I tried to print the accumulated number of steps using the variable 'Academy.Instance.TotalStepCount' and whether or not it succeeded.
However, when I checked the results after training, the max_steps value set in the 'config/trainer_config.yaml' file and the last cumulative number of steps output from Unity were completely different.
How to print the correct accumulated number of steps in Unity during the training period?
What should I do to graph the number of episode successes of the agent during the training period?
Please help me.
Thanks you :)
Your answer
![](https://koobas.hobune.stream/wayback/20220613041001im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Animating CharacterController When Stepping Up 0 Answers
Problem With Walking Sounds 1 Answer
Sound plays with step js script 0 Answers
How to make character be able to walk up steps? 1 Answer
Rigidbody Step Offset 3 Answers