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',
     # ...
     ]
相关推荐
Designerpupu20 分钟前
纸巾亚马逊详情页怎么做?3 步用 GPT 生成高转化产品图片
gpt·ai·photoshop·ps·跨境电商·亚马逊·详情页
曦尧1 小时前
开源后台编程 Agent 系统 background-agents:架构拆解与落地判断
ai·自动化
阿木实验室3 小时前
AI融入硬件产品的思考和实战:LQ10图数传的AI智能配置
ai·无人机·图数传
Dragon Wu4 小时前
ComfyUI SUPIR图片扩图插件集成报错解决
ai
Smoothcloud润云4 小时前
训练一个7B参数的大模型需要多少张GPU?大概要跑多久?
人工智能·深度学习·ai·开源·gpu算力
俊哥V4 小时前
每日 AI 研究简报 · 2026-07-13
人工智能·ai
flying jiang4 小时前
OMC 的执行原理是什么
ai
User_芊芊君子5 小时前
实测参赛|用飞算JavaAI快速落地企业项目招投标管理系统
人工智能·ai·amd
胖胖大王叫我来巡山5 小时前
Understand-Anything的运行模式
ai
NiceCloud喜云5 小时前
Claude API 价格完全指南:多少钱?怎么算?怎么省?(2026最新)
人工智能·gpt·ai·aigc