Retro Speedlab Library
Reinforcement-learning engine for training recurrent agents on classic video games.
The reusable reinforcement-learning engine behind Retro Speedlab.
It combines visual observations, emulator RAM, recurrent PPO, Random Network Distillation (RND), vectorized environments, resumable training, replay capture, and live telemetry in a reproducible Python training system.
Highlights
- Recurrent CNN-LSTM PPO for partially observable environments
- Multi-input policies combining RGB frames and emulator RAM
- Adaptive Random Network Distillation (RND) for sparse-reward exploration
- Parallel vectorized emulator environments
- Automatic worker selection, CUDA tuning, and CPU fallback
- Atomic, resumable checkpoints including exploration state
.bk2episode recording- Live Vue-based training telemetry
- Reusable abstractions for RAM, game states, rewards, and actions
Looking for game runners, end-to-end examples, and user-facing documentation? Start with Retro Speedlab.
Architecture
A training run combines game-specific definitions with reusable environment, model, training, persistence, and monitoring components.
Retro Speedlab
│
┌─────────▼─────────┐
│ Game Definition │
│ │
│ RAM · Rewards · │
│ States · Actions │
└─────────┬─────────┘
│
┌─────────▼─────────┐
│ Vectorized Retro │
│ Environments │
└─────────┬─────────┘
│
┌────────────┴────────────┐
│ │
RGB Frames RAM State
│ │
CNN Encoder Encoder
│ │
└────────────┬────────────┘
│
LSTM
│
┌─────────▼─────────┐
│ Recurrent PPO │
│ + RND │
└─────────┬─────────┘
│
┌──────────────┼──────────────┐
│ │ │
Checkpoints Replays Telemetry
│
┌───────▼────────┐
│ Live Dashboard │
└────────────────┘
Metadata
Release files for datenwissenschaften 2.10.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| datenwissenschaften-2.10.11.tar.gz | 133.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| datenwissenschaften-2.10.11-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 292.0 kB
Release files / datenwissenschaften-2.10.11.tar.gz
| Download URL | datenwissenschaften-2.10.11.tar.gz |
|---|---|
| Size | 133.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc85a44423c45ab5e411e72a28942b1a8e3eb5ff2b8a9390d61db070796fa3f1
|
|
BLAKE2b-256 checksum How to use checksums |
15306108917237c585c2584a00696e4c5f6ba5b7f69ac2aaaa6e0804e49f7b6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.12.14 Linux/6.17.0-1022-azure
|
Release files / datenwissenschaften-2.10.11-py3-none-any.whl
| Download URL | datenwissenschaften-2.10.11-py3-none-any.whl |
|---|---|
| Size | 158.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e88be4dccf5452ef431ebaa874dbb9b9724fa53e547167ad4d4d80fae4505701
|
|
BLAKE2b-256 checksum How to use checksums |
a7203e571b08cf4b0ba4fea424baf49855b9598778cb006a700d289aacdc6ce9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.12.14 Linux/6.17.0-1022-azure
|