Tarzan
Vision based autonomous car driving agent for GTA vice city game.
Created on 23rd February 2025
•
Tarzan
Vision based autonomous car driving agent for GTA vice city game.
The problem Tarzan solves
It is a try to simulate machine learning-based autonomous car driving in the game world of GTA Vice City. The model is based on CNN and is trained on a dataset created by observing human player gameplay. The dataset format is <Game frame, input keys pressed>. Agent captures the game screen every 500ms, feeds it to the model, and presses the keys suggested by the model.
Challenges we ran into
- Finding a good and sufficiently large dataset or creating our own.
=> Found a dataset on kaggle, which had 500 images for each label. - Unavailability of proper Hardware to make the model training process fast.
=> Used google colab for training the model (also we found a dataset which had 70,000 images but due to limitations of colab we chose the smaller one to train the model) - Creating a CNN architecture which can fit the training data and make accurate predictions.
=> We chose a rather simple CNN architecture to get started and then wanted to replace it with VGG or ResNet but couldn't due to running out of time.
Technologies used
Discussion
Builders also viewed
See more projects on Devfolio
