Search Unity

RayPerceptionSensorComponent3D and CollectObservations

Discussion in 'ML-Agents' started by kahabal, May 15, 2020.

  1. kahabal

    kahabal

    Joined:
    Nov 19, 2018
    Posts:
    16
    Hi,
    on ML Agents1.0
    i add my RayPerceptionSensorComponent3D , decided the values that i want and the Tags,
    does it add the values to the AddCollectObservations or should i do something to them to work?
    how do i know that is using them?

    Thanks
    Dario
     
  2. kahabal

    kahabal

    Joined:
    Nov 19, 2018
    Posts:
    16
    ok, as "Note that this is separate from the State Size defined in Behavior Parameters, so you don't need to worry about the formula above when setting the State Size."
    should be automatic
     
  3. andrewcoh_unity

    andrewcoh_unity

    Unity Technologies

    Joined:
    Sep 5, 2019
    Posts:
    162
    Just to confirm, you do not need to add observation sizes from the RayPerceptionSensor into the observation size in the behavior parameters script.
     
  4. kahabal

    kahabal

    Joined:
    Nov 19, 2018
    Posts:
    16
    thank you !!