Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

imitation learning question/issue about speed, no-ops, and on-key-down

Discussion in 'ML-Agents' started by zergy, May 6, 2020.

  1. zergy

    zergy

    Joined:
    Jul 28, 2015
    Posts:
    1
    Hi,

    doing GAIL with ml-agents here.

    my understanding of imitation learning is you use a player brain and add a DemonstrationRecorder object to the agent. You run it in the IDE and it records a file.

    My issue is when I setup a player brain, the time passed are counted as no-op steps, and when I press "W" to move, it moves multiple times instead of 1 time (like a on-key-down). So my data will be very bad with too many no-ops and too many multiple "W"s instead of 1. I want to only record single moves with no no-ops.

    I have timescale set at 1, using mlagents v0.10.1 w/ TF 1.14