Skip to content
Colinster327Public

About

Four different RL agents used to solve a maze

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reinforcement Learning Algorithms

This repository contains implementations of various reinforcement learning algorithms. Below are the instructions for training and evaluating each algorithm.

WandB Report

For a detailed report on the performance of the algorithms, please refer to the WandB report.

Prerequisites

Installation

git clone git@github.com:Colinster327/maze-rl.git
cd maze-rl
uv sync
source .venv/bin/activate

PPO (Proximal Policy Optimization)

  • Train PPO:

    make ppo_train
  • Evaluate PPO:

    make ppo_eval
  • PPO agent

A2C (Advantage Actor-Critic)

  • Train A2C:

    make a2c_train
  • Evaluate A2C:

    make a2c_eval
  • A2C agent

DT (Decision Transformer)

  • Collect Data for DT:

    • Note: Ensure the PPO model is trained before collecting data.
    make dt_collect
  • Train DT:

    make dt_train
  • Evaluate DT:

    make dt_eval
  • DT agent

Q-Learning

  • Train Q-Learning:

    make qlearn_train
  • Evaluate Q-Learning:

    make qlearn_eval
  • Q-Learning agent

About

Four different RL agents used to solve a maze

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages