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',
     # ...
     ]
相关推荐
极客老王说Agent2 小时前
2026实战指南:如何用智能体实现药品不良反应报告的自动录入?
人工智能·ai·chatgpt
kishu_iOS&AI3 小时前
Openclaw -> Hermes —— 初体验
ai·openclaw·hermes
老星*3 小时前
AI选股核心设计思路
java·ai·开源·软件开发
kyriewen114 小时前
智能体走向“企业操作系统”,Google 扔出五把钥匙
科技·ai·googlecloud
叶子Talk4 小时前
GPT-Image-2正式发布:文字渲染99%,Image Arena三项第一,AI图像生成彻底变天了
人工智能·gpt·计算机视觉·ai·openai·图像生成·gpt-image-2
我想要SSR4 小时前
搭建小龙虾过程和坑点
linux·服务器·ai
imbackneverdie6 小时前
本科毕业论文自救指南
人工智能·ai·ai写作·毕业论文·ai工具·科研工具
温迪的AI分享6 小时前
2026 AI抠图实测:4款工具效果与速度对比
图像处理·人工智能·经验分享·ai
marsh02067 小时前
37 openclaw集成测试策略:确保组件间协作正常
ai·集成测试·编程·技术
weixin_699602447 小时前
在 Cursor 中直接使用 Midjourney 绘图!AI 编码与 AI 艺术的完美结合
ai