-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from octo-models/fix_robot_eval
Fix WidowX evaluation script
- Loading branch information
Showing
4 changed files
with
40 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
# Octo Eval Environments | ||
# Octo Evaluation Environments | ||
|
||
The `step` and `reset` functions of the Gym environment should return observations with the images, depth images, and/or | ||
proprioceptive information that the policy expects as input. Specifically, the returned observations should be dictionaries | ||
proprioceptive information that the model expects as input. Specifically, the returned observations should be dictionaries | ||
of the form: | ||
``` | ||
obs = { | ||
"image_0": ..., | ||
"image_1": ..., | ||
"image_primary": ..., | ||
"image_wrist": ..., | ||
... | ||
"depth_0": ..., | ||
"depth_1": ..., | ||
"depth_primary": ..., | ||
"depth_wrist": ..., | ||
... | ||
"proprio": ..., | ||
} | ||
``` | ||
|
||
Note that the image keys should be `image_{key}` where `key` is one of the `image_obs_keys` specified in the data loading config used to train the model (typically this is `primary` and/or `wrist`). | ||
If a key is not present in the observation dictionary, the model will substitute it with padding. | ||
|
||
Check out the example environments in this folder to help you integrate your own environment! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters