Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice

Question Setting Number of observation / actions automatically

Discussion in 'ML-Agents' started by Entretoize, Nov 9, 2023.

  1. Entretoize

    Entretoize

    Joined:
    Feb 27, 2015
    Posts:
    59
    Hello, It's annoying to have to set the number of observation and action manually, because you have to count the joints, the dimension, and when you add something you must not forget. Also there's no error if the count is not good.
    Is there a way to have it done automatically at runtime

    Thanks
     
  2. smallg2023

    smallg2023

    Joined:
    Sep 2, 2018
    Posts:
    144
    it will give you a warning with the number of expected observations after you press play
    trying to access undefined actions does give an error though