Arcade prototype for the research project: Evaluating transfer learning for reinforcement learning agents across same-genre video games
Research project carried out in partnership between PulluP Entertainment and ISART Digital Paris
This project was developed in Unity by a team of four to prototype an arcade racing game in order to train on it, an agent with machine learning and transfer it to the other prototype we made, a Realistic prototype.
Warning: Make sure to have installed the python environment
In Anaconda Prompt or MiniForge Prompt
- Go to the project folder, then to the
Assets/ML-Agentsfolder - Activate the python environment
conda activate mlagents
- Start training (replace XXX by the training number, e.g., 005)
mlagents-learn Config/trainer_config.yaml --run-id=trainingXXX
In Unity
- Open the scenes
Assets/scenes/Training - Click on the play button
In Unity
- Open the scene
Assets/scenes/Testing - In the Hierarchy
Car -> MovementRigibodyGameObject - In the Inspector
Behavior ParametersScript - Change the parameters
Modelwith the neural network you want to test. Make sure thatBehavior Typeis set to Inference Only - Launch the scene
In Unity
- Open the scenes
Assets/scenes/Testing - In the Hierarchy
EnvTrainingGameObject - In the Inspector
Evaluation TestsScript - Set the parameters
Model Testedwith the neural network you want to evaluate - Launch the scene
- Unity 6 v6000.3.9f1
- ML Agents Plugin (version 4.0.2)


