AI Lab is an experimental platform for exploring artificial intelligence and machine learning concepts. The project focuses on creating modular experiments with local AI models, game development with Pygame, and machine learning implementations using TensorFlow and Qwen.
This project serves as a personal laboratory for experimenting with AI technologies, understanding how different models work, and building practical applications that demonstrate AI capabilities running entirely on local hardware.
- Language: Python 3.8+
- Game Development: Pygame
- Machine Learning: TensorFlow
- AI Models: Qwen (local AI)
- Utilities: NumPy, Matplotlib
- Python 3.8 or higher
- pip (Python package manager)
- CUDA-capable GPU (optional, for faster training)
- Clone the repository:
git clone <repository-url>
cd ai-lab- Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Configure environment variables:
cp .env.example .env
# Edit .env with your configuration# Run a specific experiment
python experiments/example_experiment.py
# Run game with AI
python experiments/ai_game.pyfrom utils.model_loader import load_model
from experiments.simple_ai import SimpleAI
model = load_model('models/my_model.h5')
ai = SimpleAI(model)
result = ai.predict(input_data)ai-lab/
├── experiments/ # AI experiment scripts
├── utils/ # Utility functions and helpers
├── models/ # Trained model files
├── data/ # Training and test data
├── requirements.txt # Python dependencies
└── README.md # This file
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.