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
0d43fed4
Commit
0d43fed4
authored
Nov 7, 2018
by
Kate Rakelly
Browse files
Options
Downloads
Patches
Plain Diff
HW5c fix (nit): variable naming instruction for compatibility
parent
0d5ed41b
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
hw5/meta/train_policy.py
+1
-0
1 addition, 0 deletions
hw5/meta/train_policy.py
with
1 addition
and
0 deletions
hw5/meta/train_policy.py
+
1
−
0
View file @
0d43fed4
...
...
@@ -380,6 +380,7 @@ class Agent(object):
steps
+=
1
# index into the meta_obs array to get the window that ends with the current timestep
# please name the windowed observation `in_` for compatibilty with the code that adds to the replay buffer (lines 418, 420)
# YOUR CODE HERE
hidden
=
np
.
zeros
((
1
,
self
.
gru_size
),
dtype
=
np
.
float32
)
...
...
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