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',
     # ...
     ]
相关推荐
奇牙coding3 小时前
Grok 4.20 一直报 HTTP 401 怎么办?换了密钥还没好,可能是请求发错了入口
网络·网络协议·http·ai
不吃紫菜6 小时前
LangChain新版-记忆与 RAG:短期、长期、静态上下文全解、MCP
ai
Eric-Ln6 小时前
大数据在 AI 时代来临下的思考与感悟
大数据·ai·bigdata
富贵儿99812 小时前
NL2SQL 实践手记 10:从命令行到网页查询——把整个系列串起来
数据库·python·sql·ai·自然语言处理·langchain
吐个泡泡v12 小时前
DeepSeek Harness 运行时架构拆解
ai·deepseek·harness·dsh
七夜zippoe12 小时前
Agent 容灾设计:异地多活、数据同步与故障恢复演练
大数据·ai·agent·故障恢复·数据同步·容灾设计
七牛云行业应用12 小时前
Antigravity 迁移清单:Claude Code、Codex、Cursor 哪些能带过来
人工智能·ai·github
空堂与归13 小时前
2026-12-02_Anthropic格密码银河级算法
人工智能·算法·ai·密码学
Escalating_xu13 小时前
【COZE实战】插件与知识库(三):让智能体会查资料,也会使用工具
开发语言·网络·人工智能·ai
GJGCY14 小时前
金智维Ki-AgentS与K-APA如何分工?任务编排与流程自动化的区别
大数据·人工智能·ai·自动化·智能体