mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-19 21:42:02 +00:00
Supply default algorithm name in sample upload code
This commit is contained in:
@@ -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))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user