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

Seeing the agent in action #27

Open
Praneethsv opened this issue Feb 12, 2019 · 2 comments
Open

Seeing the agent in action #27

Praneethsv opened this issue Feb 12, 2019 · 2 comments

Comments

@Praneethsv
Copy link

Praneethsv commented Feb 12, 2019

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?

@tristandeleu
Copy link
Owner

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).

@magienguyen
Copy link

Hi,

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

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

No branches or pull requests

3 participants