Spaces:
Sleeping
Sleeping
Upload README.md
Browse files
README.md
CHANGED
|
@@ -1,14 +1,38 @@
|
|
| 1 |
---
|
| 2 |
title: Car Racing Agent
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version: 6.
|
| 8 |
app_file: app.py
|
| 9 |
-
pinned:
|
| 10 |
license: apache-2.0
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
title: Car Racing Agent
|
| 3 |
+
emoji: 🏎️
|
| 4 |
+
colorFrom: yellow
|
| 5 |
+
colorTo: yellow
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 6.12.0
|
| 8 |
app_file: app.py
|
| 9 |
+
pinned: true
|
| 10 |
license: apache-2.0
|
| 11 |
+
tags:
|
| 12 |
+
- reinforcement-learning
|
| 13 |
+
- curriculum-learning
|
| 14 |
+
- torchrl
|
| 15 |
+
- ppo
|
| 16 |
+
- openenv
|
| 17 |
+
- pygame
|
| 18 |
+
short_description: A PPO agent trained from scratch on 10 curriculum tracks.
|
| 19 |
---
|
| 20 |
|
| 21 |
+
# Car Racing Agent
|
| 22 |
+
|
| 23 |
+
Live demo of a PPO car-racing agent trained from scratch across a 10-track
|
| 24 |
+
curriculum — zero crashes on the full curriculum.
|
| 25 |
+
|
| 26 |
+
- **Blog post:** <https://huggingface.co/blog/NirmalPratheep/curriculum-car-racer>
|
| 27 |
+
- **Source / training code:** <https://github.com/NirmalPratheep/curriculum-car-racer>
|
| 28 |
+
- **OpenEnv Student Challenge 2026** submission.
|
| 29 |
+
|
| 30 |
+
## How to use
|
| 31 |
+
|
| 32 |
+
1. Pick a track from the dropdown (Track 01 → Track 10).
|
| 33 |
+
2. Click **Reset** to spawn the agent.
|
| 34 |
+
3. Click **Step ×20** to advance physics a chunk at a time, or
|
| 35 |
+
**Auto-Drive** to run a full lap and get a replay video.
|
| 36 |
+
|
| 37 |
+
The orange-bordered thumbnail is the actual 64×64 egocentric image the
|
| 38 |
+
CNN receives every step — always rotated so the car faces up.
|