Allow examine_env to load hard coded policies#87
Merged
vikashplus merged 3 commits intodevfrom May 1, 2023
Merged
Conversation
added 2 commits
May 1, 2023 12:23
…utils/examine_env.py -e FrankaReachRandom-v0 -p robohive.utils.examine_env.rand_policy
vikashplus
reviewed
May 1, 2023
Owner
vikashplus
left a comment
There was a problem hiding this comment.
- Lets update the DESC to document this use case
- Lets add an example as well to show the usage
- Lets update the tests/test_examine_env.py to add a unit test
- Lets update the wiki/tutorial to add a use case (I can do this)
Collaborator
Author
|
Addressed points 1-3. For point 2, could show an example of policy that is not completely random and is likely to succeed once #89 is merged |
vikashplus
approved these changes
May 1, 2023
vikashplus
pushed a commit
that referenced
this pull request
Aug 31, 2023
* Allow examine_envs to load hard coded policies, E.g. python robohive/utils/examine_env.py -e FrankaReachRandom-v0 -p robohive.utils.examine_env.rand_policy * Remove unnecessary import * examine_env loading scripted polcies: update DESC in examine_env and add unit test Co-authored-by: Patrick Lancaster <plancaster@pop-os.localdomain>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Example command:
python robohive/utils/examine_env.py -e FrankaReachRandom-v0 -p robohive.utils.examine_env.rand_policy