Search Unity

Resolved How to set Vector Observation Space size from code

Discussion in 'ML-Agents' started by Bardent, Oct 28, 2021.

  1. Bardent

    Bardent

    Joined:
    Mar 27, 2020
    Posts:
    5
    Hi! I can't seem to figure out how to set the number of observations from code. Can't see anything about it in the docs. I want to be able to configure which observations are used from my YAML file for testing without having to rebuild my project for each case.
     
  2. Bardent

    Bardent

    Joined:
    Mar 27, 2020
    Posts:
    5
    Ah I see you can access behaviorParameters.BrainParameters.VectorObservationSize and set it that way. Whoops!
     
    wpetillo likes this.