【问题标题】:OpenAI gym: How to get complete list of ATARI environmentsOpenAI 健身房:如何获取 ATARI 环境的完整列表
【发布时间】:2017-11-07 09:52:24
【问题描述】:

我已经安装了 OpenAI gym 和 ATARI 环境。我知道我可以在 documentation 中找到所有 ATARI 游戏,但是有没有办法在 Python 中做到这一点,无需打印任何其他环境(例如,不是经典的控制环境)

【问题讨论】:

    标签: deep-learning artificial-intelligence reinforcement-learning openai-gym


    【解决方案1】:

    您可以通过在atari_py 上调用list_games() 来实现:

    >>> import atari_py as ap
    >>> game_list = ap.list_games()
    >>> print(sorted(game_list))
    <<< ['adventure',
         'air_raid',
         'alien',
         'amidar',
         'assault',
         'asterix',
         'asteroids',
         'atlantis',
         'bank_heist',
         'battle_zone',
         'beam_rider',
         'berzerk',
         'bowling',
         'boxing',
         'breakout',
         'carnival',
         'centipede',
         'chopper_command',
         # ...
         ]
    

    【讨论】:

      【解决方案2】:

      为了省去别人的麻烦:

      'adventure'、'air_raid'、'alien'、'amidar'、'assault'、'asterix'、'小行星'、'atlantis'、'bank_heist'、'battle_zone'、'beam_rider'、'berzerk' ,'保龄球','拳击','突围','嘉年华','蜈蚣','chopper_command','crazy_climber','后卫','demon_attack','double_dunk','elevator_action','enduro',' Fishing_derby','freeway','frostbite','gopher','gravitar','hero','ice_hockey','jamesbond','journey_escape','kaboom','kangaroo','krull','kung_fu_master' , 'montezuma_revenge', 'ms_pacman', 'name_this_game', 'phoenix', 'pitfall', 'pong', 'pooyan', 'private_eye', 'qbert', 'riveraid', 'road_runner', 'robotank', ' seaquest'、'skiing'、'solaris'、'space_invaders'、'star_gunner'、'tennis'、'time_pilot'、'tutankham'、'up_n_down'、'venture'、'video_pinball'、'wizard_of_wor'、'yars_revenge' , '扎克松'

      10.12.17 更新

      【讨论】:

      • 列表太长,无法发表评论
      猜你喜欢
      • 1970-01-01
      • 2017-12-17
      • 2018-04-30
      • 1970-01-01
      • 2019-03-14
      • 1970-01-01
      • 2019-02-05
      • 2017-11-06
      • 2017-09-18
      相关资源
      最近更新 更多