Search Unity

Resolved Cumulative Reward Graph goes up and down

Discussion in 'ML-Agents' started by mateolopezareal, Jun 7, 2020.

  1. mateolopezareal

    mateolopezareal

    Joined:
    Jun 4, 2020
    Posts:
    54
    I keep getting the cumulative reward graphic with the shape of a mountain, like it learns how to do and the rewards goes up but in the end it, the reward start to go down as you can see in the image. What should I change? Why is doing this?
    Screenshot 2020-06-07 at 23.42.35.png

    Screenshot 2020-06-07 at 23.45.53.png
     
  2. andrewcoh_unity

    andrewcoh_unity

    Unity Technologies

    Joined:
    Sep 5, 2019
    Posts:
    162
    There could be a lot of things going on here. Can you share your trainer configuration file?
     
  3. mateolopezareal

    mateolopezareal

    Joined:
    Jun 4, 2020
    Posts:
    54
    After reading a little more I did make the Reward values smaller and also, as I read that the batch size for discrete value is better to have it around 512; and for these runs I did use a batch size of 1024, that could the problem.

    By changing the reward thing and the batch size I am now getting stable graphs.

     
    andrewcoh_unity likes this.