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',
     # ...
     ]
相关推荐
空心木偶☜1 小时前
LangGraph 错误处理和重试机制
ai·ai编程·langgraph
菩提小狗2 小时前
每日极客日报 · 2026年10月06日
ai·开源·极客日报·it热点·技术资讯
林伽一4 小时前
能力趋同、账单分化,技术选型正在从榜单转向负载|2026年10月06日
人工智能·科技·安全·ai
suliqiang5 小时前
AI 编程新范式:Agentic、Vibe 与 Spec 实战指南
ai·ai编程
互联网叫兽5 小时前
RAG 知识库-基于元数据的细粒度权限控制
ai·llm·rag
一切皆是因缘际会7 小时前
掌控信息论:同源星际通信基础理论
人工智能·算法·ai
镜舟科技7 小时前
从 StarRocks 到 MIP:数据平台的下一步是“理解”
starrocks·sql·ai·prompt·agent·context·mip
周永恒8 小时前
AI制作配图
ai·markdown·绘图·工作流·博客园
yun123456789909 小时前
如何让 AI 事半功倍
ai
Sand(ContextGate)9 小时前
Python Agent 测试实战:测试与评估,让 Agent 像传统软件一样可交付
前端·javascript·python·microsoft·ai