liuzuxin / DSRL

🔥 Datasets and env wrappers for offline safe reinforcement learning
https://offline-saferl.org
Apache License 2.0
65 stars 4 forks source link

How to save rendering video in mujoco environment #9

Closed Chenrf1121 closed 1 day ago

Chenrf1121 commented 1 month ago

I check gymnasium document, they introduce gymnasium.utils.save_video to save video, but I fail to save video of OfflinePointGoal1Gymnasium-v0. the example code is

image

, how to save dsrl datasets rendering video?

liuzuxin commented 2 weeks ago

Have you tried to save video in the original safety-gymnasium repo? Our environment is a wrapper for theirs, so if their original repo doesn't support save video in this way, ours also can not.