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

From pixels? #67

Closed
slerman12 opened this issue Oct 9, 2021 · 4 comments
Closed

From pixels? #67

slerman12 opened this issue Oct 9, 2021 · 4 comments
Labels
question Further information is requested

Comments

@slerman12
Copy link

Is there a way to get the states as image frames?

@erikfrey
Copy link
Collaborator

Hi Sam,

We're pushing an update with support for rendering states on Tuesday or Wednesday. Stay tuned!

@erikfrey
Copy link
Collaborator

erikfrey commented Oct 12, 2021

OK, rendering to pixels is now available, but not yet documented. If you'd like to try it, please check out:

https://github.com/google/brax/blob/main/brax/io/image.py

Please keep in mind this is CPU rendering, so better for eval rendering and other programmatic use cases, rather than training. We will move to GPU/TPU rendering in the future, which should be suitable for training.

In the coming days we'll update our colabs with an example of how to use it.

@slerman12
Copy link
Author

Ah, GPU training is what I need. But thank you!

@erikfrey
Copy link
Collaborator

Closing this as I think it's addressed, but please do re-open if you have any other questions. We are tracking the request to render using accelerators at #108

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

No branches or pull requests

2 participants