Skip to content

Commit

Permalink
kept the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kywch committed Aug 9, 2024
1 parent e296eaa commit 9f53244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion myosuite/envs/obs_vec_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def obsdict2obsvec(self, obs_dict, ordered_obs_keys):

obs_list = [np.zeros(0)]
for key in self.ordered_obs_keys:
obs_list.append(obs_dict[key].ravel())
obs_list.append(obs_dict[key].ravel()) # ravel helps with images
obsvec = np.concatenate(obs_list, dtype=np.float32)

# cache
Expand Down

0 comments on commit 9f53244

Please sign in to comment.