Hummingbird Unity machine learning agent is the artificial intelligent system where I tried to copy the Hummingbird flying nature in Unity game environment and train agents that can navigate to flowers, dip their beaks in, and drink nectar. These hummingbirds have six degrees of freedom, meaning they can fly and turn in any direction to find targets.
These hummingbirds have six degrees of freedom, meaning they can fly and turn in any direction to find targets. They have more complicated controls and their flight paths cannot be solved with traditional navigation systems. In this project I proposed a Reinforcement Learning model with newly Invented Unity Machine Learning .
fig 1: Unity EnvironmentThe hummingbird agent is the main machine learning agent and the simulation environment has different kind of obstacles for the agent.
Direction | Key | Direction | Key |
---|---|---|---|
Forward | W |
Pitch Up | ↑ |
Backward | S |
Pitch Down | ↓ |
Left | A |
Turn Left | ← |
Right | D |
Turn Right | → |
Up | E |
||
Down | C |
To Control the agent using keyboard, in Behavior Parameter change the Behavior Type of agent to Heuristic
In Behavior Parameter
Change the Behavior Type
of Hummingbird
to Default
.
mlagents-learn ./config/trainer_config.yaml --run-id trainingAgent
use tensorboard --logdir ./config/summaries
Use the Hummingbird.nn
file in the directory specified in --run-id
parameter during training as Model
for Hummingbird
's Behavior Parameter
. This Hummingbird
is the Machine Learning agent against which the player will compete. For the Player Hummingbird
, set Behavior Type
to Heuristic Only
.