Search Unity

Question Imitation learning without sensors

Discussion in 'ML-Agents' started by VampyrBytes, May 15, 2022.

  1. VampyrBytes

    VampyrBytes

    Joined:
    Sep 27, 2018
    Posts:
    3
    Is it possible to set up imitation learning when the project doesn't have any sensors in it?

    The documentation and functions on the demonstration recorder seem minimal. I'm assuming usually it uses sensors to detect what is happening. However, in my projecty I don't use sensors to gather observations, they're all set through AddObservations() in an agent.

    If it is possible, how do I let the demonstration recorder know what's going on?
     
  2. mbaske

    mbaske

    Joined:
    Dec 31, 2017
    Posts:
    473
    AddObservations() is actually using a vector sensor. It is being defined when you're setting the vector observation space size to any value other than 0.