OpenAI gym: How to get complete list of ATARI environments

题意:OpenAI Gym:如何获取完整的 ATARI 环境列表

问题背景:

I have installed OpenAI gym and the ATARI environments. I know that I can find all the ATARI games in the documentation but is there a way to do this in Python, without printing any other environments (e.g. NOT the classic control environments)

我已经安装了 OpenAI Gym 和 ATARI 环境。我知道可以在文档中找到所有 ATARI 游戏,但有没有办法在 Python 中做到这一点,而不打印任何其他环境(例如,不包括经典控制环境)?

问题解决:

You can achieve this by calling list_games() on atari_py:

你可以通过在 `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',
     # ...
     ]
相关推荐
陶甜也35 分钟前
MCP-Blender插件的安装和使用
前端·ai·blender
athink_cn4 小时前
Vibe Coding:AI驱动开发的安全暗礁与防护体系
人工智能·安全·ai·ai编程
Dipeak数巅科技4 小时前
数巅智能与湘邮科技达成战略合作 赋能行业大模型应用创新
ai·大模型·智能体
爱编码的程序员5 小时前
python 处理json、excel、然后将内容转化为DSL语句,适用于数据处理(实用版)
人工智能·python·ai·json·excel·数据处理·dsl
陈敬雷-充电了么-CEO兼CTO5 小时前
OpenAI ChatGPT Agent横空出世:全能工具+实时交互,重新定义AI智能体的终极形态
人工智能·gpt·ai·chatgpt·大模型
叶常落8 小时前
cloudflare worker + Cloudflare AI Gateway
ai
小眼睛FPGA10 小时前
【盘古100Pro+开发板实验例程】FPGA学习 | 腐蚀膨胀 | 图像实验指导手册
科技·学习·ai·fpga开发·fpga
全是操作21 小时前
如何调试coze-studio
笔记·ai
无尽星海max1 天前
Ollama模型库模型下载慢完美解决(全平台)
ai
victory04311 天前
影响人类发音的疾病类型种类和数据集
人工智能·深度学习·ai