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',
     # ...
     ]
相关推荐
阿沐沐,4 小时前
Codex CLI 沙箱与审批配置:从 workspace-write 扩展可写目录和命令网络权限
gpt·ai·chatgpt·ai编程
郝同学今天有进步吗5 小时前
构建 LangGraph Code Review Agent(七):实现规则匹配、Finding Guardrails 与 Markdown 报告
python·ai·fastapi·code review
xuhe25 小时前
一劳永逸!解决 AutoDL 系统盘(30GB)爆满与 pip 缓存迁移
linux·python·ai·jupyter
清泓y5 小时前
深度学习算法
算法·ai·语言模型·面试
Sammyyyyy7 小时前
如何利用本地技术栈构建 0 成本 AI SaaS 雏形
开发语言·人工智能·python·ai·servbay
atsec7 小时前
atsec在PCI SSC人工智能博客系列发表专访
ai·atsec·pci ssc
ACMer_CTGU7 小时前
Claude Code Cli接入Deepseek
ai
散修-小胖子8 小时前
Agent原理 & 实现(快速上手)
ai·agent
dongfangkandian8 小时前
存量房源回访、邀约看房场景,AI外呼人机协同运营方案怎么做
ai
曦尧8 小时前
GeoLibre:在浏览器里跑完整 GIS 分析——云原生地理空间工具的一次范式跃迁
ai·自动化