pytorch-maml-rl icon indicating copy to clipboard operation
pytorch-maml-rl copied to clipboard

Seeing the agent in action

Open Praneethsv opened this issue 6 years ago • 2 comments

Hello, How can one save the agent performance in the form of a video? For example you have a gif file in this repo at https://github.com/tristandeleu/pytorch-maml-rl/blob/master/_assets/halfcheetahdir.gif

Can we use gym's Monitor to record the performance during testing/training?

Praneethsv avatar Feb 12 '19 04:02 Praneethsv

Hi! Sorry for the late reply.

In order to get a video, I indeed used the Monitor wrapper from Gym (in a separate custom script). I had an issue with the camera which was not tracking (on HalfCheetah at least), so I had to tweak some things inside the environment, but I think now Gym fixed the tracking when rendering (in its latest version).

tristandeleu avatar Apr 17 '19 22:04 tristandeleu

Hi,

Could you share your script for getting a video with Gym Monitor?

magienguyen avatar Jul 27 '21 13:07 magienguyen