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 小时前
AI研究-116 特斯拉 HW3.0 与 HW4.0 区别详解:摄像头分辨率、FSD算力、雷达与Vision泊车
人工智能·深度学习·计算机视觉·ai·自动驾驶·汽车·视觉检测
CoderJia程序员甲3 小时前
GitHub 热榜项目 - 日榜(2025-11-01)
ai·开源·大模型·github·ai教程
GMICLOUD9 小时前
网易科技专访 GMI Cloud 创始人&CEO Alex Yeh:以“产品+布局+服务”构建全球竞争力
人工智能·科技·ai·gpu算力·agi·ai应用·ai基础设施
明月说数据11 小时前
Smartbi 10 月版本亮点:AIChat对话能力提升,国产化部署更安全
ai·数据分析·版本更新
CoderJia程序员甲15 小时前
GitHub 热榜项目 - 日榜(2025-10-31)
ai·开源·llm·github
“负拾捌”1 天前
基于NodeJs实现一个MCP客户端(会话模式和无会话模式)
javascript·ai·node.js·大模型·mcp
CS创新实验室1 天前
【译文】DeepSeek-OCR:上下文光学压缩
ai·大模型·llm·ocr·deepseek-ocr
测试开发Kevin1 天前
大语言模型技术Agentic Context Engineering (ACE) 的到来会取代微调吗
人工智能·ai·语言模型·自然语言处理
水中加点糖1 天前
使用LangChain+LangGraph自定义AI工作流,实现音视频字幕生成工具
人工智能·ai·langchain·工作流·langgraph
Baihai IDP1 天前
对 GPT 5 模型路由机制的深度解析
人工智能·gpt·ai·大模型·llms