GithubHelp home page GithubHelp logo

reinforcement_learning_project's Introduction

Reinforcement_Learning_Project

AIM240 Capstone Project Part 2 Code Submission

Installation Instructions

Install Python v3.10.4: https://www.python.org/downloads/release/python-3104/

Clone this repository. If using Git, you may run

git clone https://github.com/ScorelessPine/Reinforcement_Learning_Project && cd Reinforcement_Learning_Project

Otherwise download the Zip of this repository from https://github.com/ScorelessPine/Reinforcement_Learning_Project/archive/refs/heads/main.zip and unzip into a directory.

Optional: Create a python virtual environment

python -m venv RL
. RL/Scripts/activate

Install prerequisites

Note: Box2d is not officially supported on Python 3.10, so a package must be manually installed for it to work. Navigate to https://www.lfd.uci.edu/~gohlke/pythonlibs/ Search for "Box2D-2.3.2-cp310-cp310-win_amd64.whl" Download it and place it inside the repository.

pip install setuptools==66
pip install stable-baselines3[extra]
pip install "Box2D-2.3.2-cp310-cp310-win_amd64.whl"
pip install gym[box2d]
pip install pyglet==1.5.27

(NOTE that pip install gym[box2d] will likely error on python 3.10.4, however it installs some requirements for gym box2d that are needed) (NOTE this pyglet=1.5.27 is needed to render the CarRacing environment)

Run the evaluation and testing of the models

python EvaluateAndTestModels.py

Capstone Video

Shown here is a video of the project being evaluated per the AI Capstone Project: https://www.youtube.com/watch?v=LPrLolCQXbs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.