Downloads · 30 days
0
Muhilank/traffic
traffic is a machine learning model from Muhilank. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository contains a Mini-RL environment built using gymnasium to simulate a 4-way traffic intersection with Emergency Vehicle Prioritization.
Downloads · 30 days
0
Access
Public
Updated Apr 8, 2026
Repo size
274 KB
Likes
0
Public
Click a slice to open those files.
.zip274 KB · 95%
From the Hugging Face model README
This repository contains a Mini-RL environment built using gymnasium to simulate a 4-way traffic intersection with Emergency Vehicle Prioritization.
This submission is developed for the Round 1 of the Meta PyTorch OpenEnv Hackathon x Scaler School of Technology.
env.py: The custom Gymnasium environment implementation (AutonomousTrafficControlEnv).train.py: A script to train a baseline agent using stable-baselines3 (PPO).grader.py: Evaluator script to test and grade agent performance based on emergency wait times.Dockerfile: Container configuration required for OpenEnv compatibility.requirements.txt: Python package dependencies.pip install -r requirements.txt
python grader.py
python train.py
As per OpenEnv specifications, you can evaluate the agent programmatically inside a container:
docker build -t openenv-traffic .
docker run --rm openenv-traffic
gymnasium formatting to integrate seamlessly with standard RL libraries and OpenEnv containers.Good luck and let's build the future of AI Agent systems!