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',
     # ...
     ]
相关推荐
无代码Dev13 小时前
如何使用AI去水印(ChatGPT去除图片水印)
人工智能·ai·ai-native
wang_yb14 小时前
线性判别分析(LDA):降维与分类的完美结合
ai·databook
onlyellow1 天前
【RAGFlow】ubuntu22部署ragflow(v0.17.2)
ai
Elastic 中国社区官方博客2 天前
Elasticsearch:理解政府中的人工智能 - 应用、使用案例和实施
大数据·人工智能·elasticsearch·机器学习·搜索引擎·ai·全文检索
小白跃升坊2 天前
如何优化和提高MaxKB回答的质量和准确性?
ai·大语言模型·max kb
wang_yb2 天前
直线思维的进化:线性到广义线性
ai·databook
0泡2 天前
机器学习、深度学习和神经网络
深度学习·神经网络·机器学习·ai
AI是这个时代的魔法2 天前
CNNs for image processing and other applications
ai·machine learning·deep learning·computer vision
jamison_12 天前
文心一言与 DeepSeek 的竞争分析:技术先发优势为何未能转化为市场主导地位?
人工智能·ai·chatgpt·gpt-3·1024程序员节
chaodaibing2 天前
测试cursor-AI编辑器
ai·cursor