Supply default algorithm name in sample upload code

This commit is contained in:
Jie Tang
2016-10-31 22:27:47 -07:00
parent 71bb5f8563
commit ae95553ca7

View File

@@ -12,7 +12,6 @@ import os
import sys import sys
import gym import gym
import openai_benchmark
# In modules, use `logger = logging.getLogger(__name__)` # In modules, use `logger = logging.getLogger(__name__)`
logger = logging.getLogger() logger = logging.getLogger()
@@ -55,7 +54,7 @@ def main():
logger.info("""Done running, upload results using the following command: logger.info("""Done running, upload results using the following command:
python -c "import gym; gym.upload('{}', benchmark_id='{}')" python -c "import gym; gym.upload('{}', benchmark_id='{}', algorithm_id='(unknown)')"
""".rstrip().format(args.training_dir, benchmark_id)) """.rstrip().format(args.training_dir, benchmark_id))