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',
     # ...
     ]
相关推荐
iChochy20 小时前
NVIDIA NIM 开发平台,提供超多免费大模型
ai·api·ichat
Fzuim21 小时前
前端JS嵌入AI聊天
前端·ai
杨建允1 天前
杨建允:AI搜索优化对工业品行业的影响
人工智能·ai
undsky_1 天前
【n8n教程】:Switch节点,实现工作流多路由控制
人工智能·ai·aigc·ai编程
guangzan1 天前
Zod:TypeScript 类型守卫与数据验证
ai·typescript·zod
我命由我123451 天前
LangChain 学习 - Langchain Model IO(环境安装、大模型应用开发、模型分类、模型消息)
人工智能·python·ai·语言模型·pycharm·langchain·python3.11
njsgcs1 天前
ai blender流水线制作mod第一步,画个立方体
ai·blender
CoderJia程序员甲1 天前
GitHub 热榜项目 - 日榜(2026-1-3)
git·ai·开源·llm·github
阿部多瑞 ABU2 天前
`chenmo` —— 可编程元叙事引擎 V2
python·ai·ai写作