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',
     # ...
     ]
相关推荐
luckyzlb13 分钟前
01-milvus
ai·milvus·spring ai·langchain4j·springaialibaba
草莓泰面包1 小时前
虚拟机VMware安装OpenClaw
人工智能·ai·大模型·openclaw
unsynchronized2 小时前
OpenClaw 安装指南:Linux 与 Windows 系统详细教程
linux·运维·windows·ai
流水武qin4 小时前
SpringAI多模态的基本使用
java·spring boot·spring·ai
做萤石二次开发的哈哈4 小时前
萤石开放平台 × OpenClaw:打造AI摄像头技能生态,Ezviz Open Skills正式发布
ai·智能体·openclaw
marsh02065 小时前
11 openclaw路由系统实战:构建灵活高效的请求分发机制
ai·编程·技术
Shining05965 小时前
前沿模型系列(四)《大模型前沿架构》
人工智能·学习·其他·ai·架构·大模型·infinitensor
爱学习的小道长6 小时前
OpenClaw 解决运行一些漏洞
安全·ai·飞书
Ekehlaft6 小时前
同题画图大考,AiPy 适配性拉满,OpenClaw 全程 “哑火”
人工智能·ai·openclaw·aipy