Coder Social home page Coder Social logo

cs-285-final-project's Introduction

Setup

You can run this code on your own machine or on Google Colab.

  1. Local option: If you choose to run locally, you will need to install MuJoCo and some Python packages; see installation.md from homework 1 for instructions. There are two new package requirements (opencv-python and gym[atari]) beyond what was used in the previous assignments; make sure to install these with pip install -r requirements.txt if you are running the assignment locally.

  2. Colab: The first few sections of the notebook will install all required dependencies. You can try out the Colab option by clicking the badges below:

Open In Colab Part I (Q-learning)

Open In Colab Part II (Actor-critic)

Complete the code

The following files have blanks to be filled with your solutions from homework 1. The relevant sections are marked with TODO: get this from hw1 or hw2.

You will then need to implement new routines in the following files for homework 3 part 1 (Q-learning):

and in the following files for part 2 (actor-critic):

The relevant sections are marked with TODO.

You may also want to look through scripts/run_hw3_dqn.py and scripts/run_hw3_actor_critic.py (if running locally) or scripts/run_hw3_dqn.ipynb and scripts/run_hw3_actor_critic.ipynb (if running on Colab), though you will not need to edit this files beyond changing runtime arguments in the Colab notebook.

See the assignment PDF for more details on what files to edit.

cs-285-final-project's People

Contributors

alexzhaozt avatar arwaalanqary avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.