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',
     # ...
     ]
相关推荐
三寸33716 分钟前
ChatGPT Plus国内订阅三种方案深度对比:风险、成本分析
人工智能·ai·chatgpt
Baihai IDP1 小时前
Prompt caching 技术是如何实现 1 折的推理成本优化的?
人工智能·ai·llm
spencer_tseng1 小时前
Break the Sequential Dependency of LLM Inference Using Lookahead Decoding
ai·llm
spencer_tseng2 小时前
Soft Adaptive Policy Optimization
ai
组合缺一2 小时前
OpenSolon v3.9.3, v3.8.5, v3.7.5, v3.6.8 年货版发布
java·人工智能·分布式·ai·llm·solon·mcp
FIT2CLOUD飞致云2 小时前
支持OpenClaw智能体管理,新增企业微信、钉钉和飞书告警通知,1Panel v2.1.0版本发布
服务器·ai·开源·1panel
Mixtral3 小时前
4款语音转写工具测评:告别手动记录,提升工作效率
人工智能·ai
imbackneverdie3 小时前
从机制图、流程图到数据图,覆盖《Cell》《Nature》级期刊插图
图像处理·人工智能·ai·aigc·流程图·科研绘图
阿杰学AI4 小时前
AI核心知识101——大语言模型之 Cherry Studio(简洁且通俗易懂版)
人工智能·ai·语言模型·自然语言处理·aigc·cherry studio·ai 桌面客户端
阿杰学AI4 小时前
AI核心知识102——大语言模型之 AIHubMix(简洁且通俗易懂版)
人工智能·ai·语言模型·自然语言处理·aigc·aihubmix·推理时代