Tag Archives: agents

Dusting off an old project – ML with Unity.


The original idea was to to check how good is unity with machine learning for some crowd simulations, train some models and play with environment parameters – physical (such as speed of movement or distance of vision) and behavioral (group reward vs individual reward). Agents (“ants”… yes they are. despite they nicely camouflaged as green boxes) should eat and drink to survive.

I started this project a few years ago, but stuck with bugs in simulation code (e.g. one side of the communication hangs leaving agent locked) being unable to train any model that shows reasonable behavior.

Getting back to it, I decided to temporary get rid of communication part, and on the first stage focus on training model for individual agent – in other words make sure they can learn to drink and eat (pretty common problem – they stuck consuming one resource doing no attempt to consume the other resource).