Skip to content
Snippets Groups Projects
Commit e15871ab authored by Kate Rakelly's avatar Kate Rakelly
Browse files

HW5c: fix point mass env description to be accurate

parent 2a9e4de6
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ from gym import Env
class PointEnv(Env):
"""
point mass on a 2-D plane
two tasks: move to (-1, -1) or move to (1,1)
goals are sampled randomly from a square
"""
def __init__(self, num_tasks=1):
......
......@@ -6,7 +6,7 @@ from gym import Env
class ObservedPointEnv(Env):
"""
point mass on a 2-D plane
two tasks: move to (-1, -1) or move to (1,1)
four tasks: move to (-10, -10), (-10, 10), (10, -10), (10, 10)
Problem 1: augment the observation with a one-hot vector encoding the task ID
- change the dimension of the observation space
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment