Assignment 3: Policy Gradient
Due Date: Feb 24 (Monday), 11:59 PM PST.
See course webpage for the late day policy.
This assignment will provide you with practice with policy gradient and Multiarmed Bandit.
We will use MuJoCo Envinronment, please see the installation guide. If you are using a Windows system, please see this installation guide for installing MuJoCo in Windows.
Tasks
There are 2 parts to this assignment: written and code components. Both parts are required.
The coding assignment, including some starter code, is available here.
The written homework questions are available here. Find the source tex file here
Setup
Note: Please be sure you have Python 3.6.x installed on your system. The following instructions should work on Mac or Linux. If you have any trouble getting set up, please come to office hours and the TAs will be happy to help.
[Optional] virtual environment: Once you have unzipped the starter code, you might want to create a virtual environment for the project. If you choose not to use a virtual environment, it is up to you to make sure that all dependencies for the code are installed on your machine. To set up a virtual environment, run the following:
cd assignment3
sudo pip install virtualenv # This may already be installed
virtualenv .env # Create a virtual environment
source .env/bin/activate # Activate the virtual environment
pip install -r requirements.txt # Install dependencies
# install MuJoCo
pip install mujoco-py==0.5.7
# Work on the assignment for a while ...
deactivate # Exit the virtual environment
Install requirements (without a virtual environment): To install the required packages locally without setting up a virtual environment, run the following:
cd assignment3
pip install -r requirements.txt # Install dependencies
# install MuJuCo
pip install mujoco-py==0.5.7
Notes
NOTE 1: Please install and make sure you're using the tensorflow 1.7 version and up-to- date numpy.NOTE 2: Please use Python 3.6.X to develop your code.
NOTE 3: Please start early!