Skip to content

Commit

Permalink
Update README.md (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmhobi7 authored and araffin committed May 23, 2019
1 parent a37f1eb commit 4bb82b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ for i in range(1000):
action, _states = model.predict(obs)
obs, rewards, dones, info = env.step(action)
env.render()

env.close()
```

Or just train a model with a one liner if [the environment is registered in Gym](https://github.com/openai/gym/wiki/Environments) and if [the policy is registered](https://stable-baselines.readthedocs.io/en/master/guide/custom_policy.html):
Expand Down

0 comments on commit 4bb82b5

Please sign in to comment.