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

Visualizing gym training #242

Merged
merged 2 commits into from Nov 23, 2017

Conversation

vwxyzjn
Copy link
Contributor

@vwxyzjn 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 tensorforce:master Nov 23, 2017
@AlexKuhnle
Copy link
Member

Many thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants