Self-driving agent for MarioKart 64, trained with TensorFlow
Top 26.9% on sourcepulse
TensorKart enables self-driving capabilities for Mario Kart 64 using TensorFlow. This project is aimed at researchers and hobbyists interested in game AI, reinforcement learning, and computer vision applications in gaming. It allows users to train an AI agent to control the game using recorded gameplay data.
How It Works
The project utilizes a convolutional neural network (CNN) trained on gameplay footage to predict joystick inputs. It captures screenshots from the Mupen64Plus N64 emulator, processes them into a training dataset (images as input, joystick commands as output), and then trains a TensorFlow model. The trained model is then used to control the game via the gym-mupen64plus
environment.
Quick Start & Requirements
pip install -r requirements.txt
sudo apt-get install mupen64plus
Highlighted Details
gym-mupen64plus
for AI execution.Maintenance & Community
The project is maintained by kevinhughes27. Contributions are welcomed via pull requests. Links to related projects and a special thanks to Autopilot-TensorFlow are provided.
Licensing & Compatibility
The project appears to be available under a permissive license, though the specific license is not explicitly stated in the README. Compatibility with commercial use or closed-source linking would require clarification of the license.
Limitations & Caveats
The model's performance is highly dependent on the quantity and quality of training data. The current reward signal for reinforcement learning is a basic time-step penalty. The project is presented as a demonstration, and extensive fine-tuning or additional features may be required for robust performance.
3 years ago
Inactive