Real-time dashboard for watching RL training metrics. Built with Streamlit and Plotly because I needed to see what was happening during training without tailing log files.
- Shows current step, average reward, and loss
- Updates every 2 seconds while training runs
- Plots reward and loss curves
- Dark theme (easier on the eyes during long training runs)
pip install -r requirements.txt
streamlit run app.pyDashboard opens at http://localhost:8501
from train_logger import TrainingLogger
logger = TrainingLogger()
for step in range(1000):
# your training code here
reward = compute_reward()
loss = compute_loss()
logger.log_step(step, reward, loss)Metrics get written to metrics.json and the dashboard reads from there.
app.py- Streamlit dashboardtrain_logger.py- Logs metrics to JSONrequirements.txt- Dependencies
Built this to monitor my parkour RL agent training.