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',
     # ...
     ]
相关推荐
运器12321 分钟前
【一起来学AI大模型】PyTorch DataLoader 实战指南
大数据·人工智能·pytorch·python·深度学习·ai·ai编程
小眼睛FPGA19 小时前
【RK3568+PG2L50H开发板实验例程】FPGA部分 | DDR3 读写实验例程
科技·嵌入式硬件·ai·fpga开发·fpga
豌豆花下猫1 天前
Python 潮流周刊#110:JIT 编译器两年回顾,AI 智能体工具大爆发(摘要)
后端·python·ai
Baihai IDP1 天前
AI 系统架构的演进:LLM → RAG → AI Workflow → AI Agent
人工智能·ai·系统架构·llm·agent·rag·白海科技
Apipost的同学们1 天前
AI时代的接口自动化优化实践:如何突破Postman的局限性
后端·ai·架构·postman·自定义函数·apipost·api+ai
AI360labs_atyun1 天前
Java在AI时代的演进与应用:一个务实的视角
java·开发语言·人工智能·科技·学习·ai
哈__1 天前
学弟让我帮忙写一个学生管理系统的后端,我直接上科技
人工智能·ai
我爱一条柴ya1 天前
【AI大模型】RAG系统组件:向量数据库(ChromaDB)
数据库·人工智能·pytorch·python·ai·ai编程
jonssonyan1 天前
新作品:吃啥好呢 - 个性化美食推荐
ai·美食
哈__2 天前
文心一言4.5开源部署指南及文学领域测评
人工智能·ai·文心一言·paddlepaddle