Skip to content

Commit 0d43fed

Browse files
committed
HW5c fix (nit): variable naming instruction for compatibility
1 parent 0d5ed41 commit 0d43fed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hw5/meta/train_policy.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,7 @@ def sample_trajectory(self, env, animate_this_episode, is_evaluation):
380380
steps += 1
381381

382382
# index into the meta_obs array to get the window that ends with the current timestep
383+
# please name the windowed observation `in_` for compatibilty with the code that adds to the replay buffer (lines 418, 420)
383384
# YOUR CODE HERE
384385

385386
hidden = np.zeros((1, self.gru_size), dtype=np.float32)

0 commit comments

Comments
 (0)