ml-agents icon indicating copy to clipboard operation
ml-agents copied to clipboard

Question: Behavioral Cloning with reward points

Open NightSp4rk opened this issue 8 years ago • 4 comments

Hello,

When using BC, does adding reward for good actions and negative reward for bad actions in any way influence the training? I'd like to be able to have it mimic my movements but also identify when I make mistakes and not take those up. Is there a way to use both BC and PPO?

Thanks

NightSp4rk avatar Jul 18 '18 05:07 NightSp4rk

According to the documentation on agents, rewards are not used during Behavioral Cloning (imitation learning):

Note: Rewards are not used during inference by a brain using an already trained policy and is also not used during imitation learning.

https://github.com/Unity-Technologies/ml-agents/blob/master/docs/Learning-Environment-Design-Agents.md#rewards

EstonianGiant avatar Jul 31 '18 17:07 EstonianGiant

I am trying to do this: to use BC and next PPO, but it does not works yet.

In this post, a collaborator explay the why. https://github.com/Unity-Technologies/ml-agents/issues/1032

icaro56 avatar Jul 31 '18 21:07 icaro56

Thanks for reaching out to us. Hopefully you were able to resolve your issue. We are closing this due to inactivity, but if you need additional assistance, feel free to reopen the issue.

xiaomaogy avatar Sep 27 '18 21:09 xiaomaogy

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jan 03 '20 01:01 lock[bot]