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

Visualizing gym training #242

Merged
merged 2 commits into from Nov 23, 2017

Conversation

Projects
None yet
2 participants
@vwxyzjn
Contributor

vwxyzjn commented Nov 22, 2017

It might be desirable to visualize the training of agents for two reasons.

  • A person might get a better understanding of the agent's performance by eyeballing the training process rather than the scalar reward.
  • It would be visualizing appealing for demo purposes

Thus, I added a simple parameter to enable such feature over gym's environment. One could use

env = OpenAIGym('CartPole-v0', visualize=True)

to visualize the training process.

image

@AlexKuhnle AlexKuhnle merged commit eef5c7c into reinforceio:master Nov 23, 2017

1 check failed

continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error
Details
@AlexKuhnle

This comment has been minimized.

Member

AlexKuhnle commented Nov 23, 2017

Many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment