softqlearning icon indicating copy to clipboard operation
softqlearning copied to clipboard

Recording videos

Open SJTUGuofei opened this issue 7 years ago • 2 comments

Hi, how can I record videos for various Gym envs? Thanks!

SJTUGuofei avatar Apr 24 '18 04:04 SJTUGuofei

Rendering videos is not currently supported, but it should be quite easy to add. Take a look at sac repository, which has the support: https://github.com/haarnoja/sac/blob/6b37e0165f5af549f2a6e463cc9b191ff8d62268/sac/misc/sampler.py#L41-L44

haarnoja avatar Apr 29 '18 22:04 haarnoja

Hi, Thank you for releasing the code, it is very well written. I am able to render pusher environment by following your above comment. However, do you know how we can record and store videos? I know gym has this routine gym.wrappers.Monitor but how we can store video of mujucoEnv in rllab like pusher?

ahq1993 avatar Oct 30 '18 17:10 ahq1993