2D simulation to train an autonomous car that must navigate a series of increasingly challenging tracks. It uses neural networks that evolve thanks to the NEAT genetic algorithm. For a complete overview of the simulation's implementation and the achieved results, check out the following report.
- Simulation: in the main file, you can choose a range of values for key algorithm parameters, then simulate the behavior for a set number of generations. A simulation is run for each variation. At the end, graphs are generated to show which variations yields the best results. The simulation can run on multiple tracks consecutively.
- Training: train the model on a set of parameters for an unlimited number of generations, with automatic saving of the best model.
- Validation: validate the previously trained model on one or more selected tracks.
- Change tracks: change the training and/or validation tracks.
Six tracks are used, which can be selected or deselected via the "Tracks" menu option.
First, clone the repository to your local system:
git clone https://github.com/tuo-utente/tuo-progetto.git
cd AI-Autonomous-Carpython3 -m venv venv
source venv/bin/activatepip install -r requirements.txt
python3 main.pyFor more details on the simulation and the achieved results, refer to the following: full report.





