rgb_array as output #91
Answered
by
YoruCathy
svaichu
asked this question in
Help - Programming
-
Hi!, Is there any way I can get rgb_array as output in headless mode, so that I can export as a video using a gymnasium wrapper? Thank you. |
Beta Was this translation helpful? Give feedback.
Answered by
YoruCathy
Aug 12, 2024
Replies: 1 comment
-
Hi @svaichu , you can try these commands:
Then, restart your server and connect your server to a screen. The screen won't render anything, but there must be a display device connecting to your server. Then use the following commands
In your Python code, set |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
YoruCathy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @svaichu , you can try these commands:
On your ubuntu server, do
Then, restart your server and connect your server to a screen. The screen won't render anything, but there must be a display device connecting to your server.
Then use the following commands
In your Python code, set
graphics=False
. Then you should be able to get the image in headless mode.