Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AdvRL19
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flgw
AdvRL19
Commits
e15871ab
Commit
e15871ab
authored
6 years ago
by
Kate Rakelly
Browse files
Options
Downloads
Patches
Plain Diff
HW5c: fix point mass env description to be accurate
parent
2a9e4de6
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
hw5/meta/point_mass.py
+1
-1
1 addition, 1 deletion
hw5/meta/point_mass.py
hw5/meta/point_mass_observed.py
+1
-1
1 addition, 1 deletion
hw5/meta/point_mass_observed.py
with
2 additions
and
2 deletions
hw5/meta/point_mass.py
+
1
−
1
View file @
e15871ab
...
...
@@ -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
):
...
...
This diff is collapsed.
Click to expand it.
hw5/meta/point_mass_observed.py
+
1
−
1
View file @
e15871ab
...
...
@@ -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 (-1
0
, -1
0), (-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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment