Other2024
Unreal Engine, Machine Learning and C++
A C++ write-up for Unreal's Learning Agents plugin, reinforcement learning, imitation learning, deployment, and combining networks with behavior trees.
SOURCE ON GITHUB
XanderBert / Unreal-Engine-Learning-Agents-Learning-Environment
C++
$ git clone https://github.com/XanderBert/Unreal-Engine-Learning-Agents-Learning-EnvironmentUnreal Engine released a plugin called Learning Agents. It’s still in beta, and there aren’t many resources on it yet. Unreal Engine did release a Basic Introduction Tutorial.
So I learned it, dug into the underlying code, and made my own write-up so people can properly use it.
This project rebuilds the same setup in C++ and then expands upon it. In the write-up I explain how to set up:
- Basic reinforcement learning with C++
- Imitation learning
- Recording
- Imitation training
- Deploying the recorded network
- Combining the neural networks with a behavior tree to get the best of both worlds
I’ve learned a lot about machine learning and AI in games with this project.