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',
     # ...
     ]
相关推荐
Thomas.Sir8 小时前
第013讲:AI模型开发|数据可行性探查:SQL 抽样要问的五个问题:没有米下锅,再好的算法也是零
人工智能·ai
最强小杰10 小时前
Kong + APISIX + Claude Code 企业级 API 网关验收:项目身份、脱敏与故障切换,收藏这篇就够了
ai·kong
codigger17 小时前
AI 会写代码之后,程序员该学什么?
ai·程序员·编程·ai编程·#人工智能
蜡笔小谢1 天前
DeepSeek Harness Java 实战笔记(五)|插件、MCP 与 Skill
java·笔记·ai·agent·deepseek·harness
Yeats_Liao1 天前
SoduWork 实战:1,210 条物联网报警的标准化与分诊
网络·人工智能·物联网·ai
艾莉丝努力练剑2 天前
【AI接入大模型SDK】解决接口连接异常问题
前端·c++·人工智能·学习·ai·架构
艾莉丝努力练剑2 天前
【AI接入大模型SDK】Markdown格式解析
前端·c++·人工智能·学习·ai·架构
AI算力2 天前
让安全驾驶有“AI”相伴|腾视科技DMS视频监控一体机,守护每一次出行
人工智能·科技·ai·车载终端·ai算力·车载智能终端·车载dvr
果果软件2 天前
2026 后台管理系统选型:若依、JeecgBoot、芋道、NocoBase 和 GewuMind Boot 怎么选?
java·人工智能·后端·ai·开源