Discover and explore top open-source AI tools and projects—updated daily.
yfeng997Interactive Reinforcement Learning tutorial for game AI
Top 99.9% on SourcePulse
MadMario provides an interactive PyTorch tutorial for building an AI-powered Mario agent, specifically targeting first-time Reinforcement Learning (RL) learners. It demystifies RL implementation by guiding users through the process of creating a learning agent using Double Q-learning and a Convolutional Neural Network (CNN), offering a practical and educational experience.
How It Works
The project utilizes Double Q-learning to address value overestimation, promoting more stable agent training. A Convolutional Neural Network (CNN) acts as the function approximator, processing game state observations to estimate Q-values. Environment preprocessing, including image resizing and color space conversion, is managed through dedicated wrappers to prepare data for the neural network.
Quick Start & Requirements
conda env create -f environment.yml
conda activate myenv
python main.pypython replay.pytutorial.ipynb) is available and can be run on Google Colab. A pre-trained checkpoint is provided: https://drive.google.com/file/d/1RRwhSMUrpBBRyAsfHLPGt1rlYFoiuus2/view?usp=sharingHighlighted Details
tutorial.ipynb) with extensive explanations, runnable on Google Colab.Maintenance & Community
No specific information regarding maintainers, community channels (like Discord/Slack), or project roadmap is present in the provided README.
Licensing & Compatibility
The README does not explicitly state a software license.
Limitations & Caveats
Training can be time-consuming, requiring up to 80 hours on CPU, though GPU acceleration significantly reduces this. The project is positioned as a tutorial for first-time RL learners, implying it may not cover advanced RL techniques or optimizations.
3 years ago
Inactive
yandexdataschool
vmayoral
udacity
dennybritz