OpenAI gym:如何获得完整的ATARI环境列表

时间:2017-06-06 11:37:32

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

我已经安装了OpenAI gym和ATARI环境。我知道我可以在documentation中找到所有ATARI游戏,但有没有办法在Python中执行此操作,没有打印任何其他环境(例如,不是传统的控制环境)

2 个答案:

答案 0 :(得分:4)

您可以致电list_games()上的atari_py

来实现这一目标
>>> 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',
     # ...
     ]

答案 1 :(得分:3)

为了节省其他人的麻烦:

'冒险','air_raid','外星','在'','突击','asterix','小行星','亚特兰蒂斯','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','riverraid','road_runner','robotank',' seaquest','ski','solaris','space_invaders','star_gunner','tennis','time_pilot','tutankham','up_n_down','冒险','video_pinball','wizard_of_wor','yars_revenge' ,'zaxxon'

在10.12.17更新