Open
Conversation
jimmytyyang
reviewed
Feb 4, 2025
Contributor
jimmytyyang
left a comment
There was a problem hiding this comment.
look good! let's debug this when we depoly on the hardware
| @@ -0,0 +1,169 @@ | |||
| # Copyright (c) Meta Platforms, Inc. and its affiliates. | |||
Contributor
There was a problem hiding this comment.
we recreate a new base env? what are the issues if we use the old one?
Contributor
Author
There was a problem hiding this comment.
there's a lot of stuff in the old one that might not be needed anymore, it was easier to pull out parts that I needed into this one. For an example, the old one passes the RGB images through segmentation model, whereas we now want to use the RGB as input to our policy and not use any segmentation models.
skill_vla/examples/test_skill_vla.py
Outdated
| policy.reset() | ||
| while not done: | ||
| action = policy.act(observations) | ||
| observations, _, done, _ = env.step(base_action=action) |
Contributor
There was a problem hiding this comment.
good point! I guess what you do here is to create a simple while loop RL env, so that we do not need to go through the complex existing env stuff
ec7568e to
d8d4af7
Compare
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.
Motivation and Context
New evaluation code for VLA policies
How Has This Been Tested
Types of changes
Checklist