Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frame stacking for learning from images #171

Open
elle-miller opened this issue Jun 23, 2024 · 0 comments
Open

Frame stacking for learning from images #171

elle-miller opened this issue Jun 23, 2024 · 0 comments

Comments

@elle-miller
Copy link

Hi there,

What is the best way to render and stack multiple image frames e.g. 4 into a single observation?

For the Camera Cartpole task (code), a pytorch_listener (docs) is used to get the images:

# retrieve RGB data from all render products
images = self.pytorch_listener.get_rgb_data()

However I am not sure how to have multiple images returned. I tried lowering the rendering_dt to a fraction of the sim dt but the function still only returns 1 image. If you could point me to some documentation that would be great. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant