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

Imitation learning - student not moving in training

Open Bakikii opened this issue 8 years ago • 5 comments

I've setup my player to follow keyboard actions as required and it has a teacher brain and brain is in player mode. I have a student using same agent script as player.It has a student brain and it's brain is in external mode .. But there is no movement from student in training. Has anyone any ideas why this is happening or perhaps someone can share a simple working project with imitation learning .

Thanks

Bakikii avatar Apr 12 '18 19:04 Bakikii

Are you launching it via Python?

traveltrousers avatar Apr 12 '18 22:04 traveltrousers

Yes, I launch from cmd and it starts up fine, I can move my teacher agent as expected .... I've followed the git hub instructions to the letter but I'm obviously missing something....

Bakikii avatar Apr 13 '18 09:04 Bakikii

Are you able to train the banana imitation environment ? There could be a problem with the connection to python. Does python print summaries as expected or does it timeout after 30 seconds? Make sure you build with Development Build checked: this will ensure that any error in unity will be displayed. Also make sure that the student and teacher brain have the same brain parameters (you can just copy and paste the game object to make sure). It might take some time depending on the training_config for the buffer to have enough data points to start training, could take a minute or so depending on the simulation.

vincentpierre avatar Apr 13 '18 22:04 vincentpierre

Hi @Bakikii , we are closing this issue due to inactivity, feel free to open it if you need more help on this.

xiaomaogy avatar May 17 '18 21:05 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 10:01 lock[bot]