Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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 run_hw3_dqn.py and run_hw3_actor_critic.py (if running locally) or run_hw3_dqn.ipynb and 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.