Skip to content
This repository was archived by the owner on Mar 2, 2025. It is now read-only.

Latest commit

 

History

History
35 lines (25 loc) · 1.05 KB

File metadata and controls

35 lines (25 loc) · 1.05 KB

High-Level

High Level Projects

2 Difference Projects

ML -> Using machine learning to reproduce the predictions of the previous year's algorithm

RL -> Using reinforcement learning to learn how the pacbot should play the game from scratch

Setup

  1. make sure you're using python 3.10 (preferably using a virtual environment for more organized development) because torch-rl isn't compatible with python 3.11 yet
  2. pip install gym
  3. pip install pygame
  4. pip install numpy

(currently optional steps: the code for the model isn't added yet, but will be needed later)

  1. install pytorch based on the instructions here: https://pytorch.org/get-started/locally/
  2. pip install torchrl
  3. pip install tensordict

now you can run the files normally

Resources

PyTorch:

Reinforcement Learning:

OpenAI Gym:

PyGame