Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HW8

Dylan Losey, Virginia Tech.

In this homework assignment we will use behavior cloning to learn the robot's policy using image observations.

Install and Run

# Download
git clone https://github.com/vt-hri/HW8.git
cd HW8

# Create and source virtual environment
# If you are using Mac or Conda, modify these two lines as shown in [HW0](https://github.com/vt-hri/HW0)
python3 -m venv venv
source venv/bin/activate

# Install dependencies
# If you have torch installed for HW7, you can skip this code
# If you are using Mac or Conda, modify this line as shown in [HW7](https://github.com/vt-hri/HW0)
pip install numpy pybullet torch

Assignment

Your goal is to familiarize yourself with the process of learning a robot policy, and to practice this concept by implementing behavior cloning. The robot should learn to reach towards blocks that are randomly placed on the table. You will complete the following steps:

  1. Familiarize yourself with the code. Determine how many demonstrations you need to learn a robot policy from image observations.
  2. Train your robot to reach for red blocks that are randomly initialized on the table. Then test your policy on a different distribution (e.g., block color is blue).
  3. Modify the get_dataset.py code so that the block color is different in each demonstration. Train your robot to reach for the blocks. Then repeat the previous step by testing the policy to reach for blue blocks. Record your observations about how the data distribution affects the robot's learned behaviors.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages