Skip to content

Commit

Permalink
Remove scoreboard references (#750)
Browse files Browse the repository at this point in the history
  • Loading branch information
gdb committed Oct 15, 2017
1 parent b5576dc commit 7b5acea
Show file tree
Hide file tree
Showing 21 changed files with 9 additions and 2,794 deletions.
5 changes: 2 additions & 3 deletions README.rst
Expand Up @@ -242,10 +242,9 @@ Examples


See the ``examples`` directory. See the ``examples`` directory.


- Run `examples/agents/random_agent.py <https://github.com/openai/gym/blob/master/examples/agents/random_agent.py>`_ to run an simple random agent and upload the results to the scoreboard. - Run `examples/agents/random_agent.py <https://github.com/openai/gym/blob/master/examples/agents/random_agent.py>`_ to run an simple random agent.
- Run `examples/agents/cem.py <https://github.com/openai/gym/blob/master/examples/agents/cem.py>`_ to run an actual learning agent (using the cross-entropy method) and upload the results to the scoreboard. - Run `examples/agents/cem.py <https://github.com/openai/gym/blob/master/examples/agents/cem.py>`_ to run an actual learning agent (using the cross-entropy method).
- Run `examples/scripts/list_envs <https://github.com/openai/gym/blob/master/examples/scripts/list_envs>`_ to generate a list of all environments. (You see also just `browse <https://gym.openai.com/docs>`_ the list on our site. - Run `examples/scripts/list_envs <https://github.com/openai/gym/blob/master/examples/scripts/list_envs>`_ to generate a list of all environments. (You see also just `browse <https://gym.openai.com/docs>`_ the list on our site.
- Run `examples/scripts/upload <https://github.com/openai/gym/blob/master/examples/scripts/upload>`_ to upload the recorded output from ``random_agent.py`` or ``cem.py``. Make sure to obtain an `API key <https://gym.openai.com/settings/profile>`_.


Testing Testing
======= =======
Expand Down
3 changes: 0 additions & 3 deletions examples/agents/cem.py
Expand Up @@ -96,6 +96,3 @@ def noisy_evaluation(theta):
writefile('info.json', json.dumps(info)) writefile('info.json', json.dumps(info))


env.close() env.close()

logger.info("Successfully ran cross-entropy method. Now trying to upload results to the scoreboard. If it breaks, you can always just try re-uploading the same results.")
gym.upload(outdir)
5 changes: 0 additions & 5 deletions examples/agents/random_agent.py
Expand Up @@ -61,8 +61,3 @@ def act(self, observation, reward, done):


# Close the env and write monitor result info to disk # Close the env and write monitor result info to disk
env.close() env.close()

# Upload to the scoreboard. We could also do this from another
# process if we wanted.
logger.info("Successfully ran RandomAgent. Now trying to upload results to the scoreboard. If it breaks, you can always just try re-uploading the same results.")
gym.upload(outdir)
46 changes: 0 additions & 46 deletions examples/scripts/upload

This file was deleted.

0 comments on commit 7b5acea

Please sign in to comment.