-
Atari 环境能够让我们使用相同的算法测试多个不同的环境,验证 RL 算法的通用性;
-
由于输入仅为游戏图像,增加了问题的复杂性;
-
Atari 为研究人员提供了一个公认的测试平台,能够较为公平地比较不同算法之间的性能;
-
RL 需要大量的交互数据进行学习,在真实环境中实际测试之前,Atari 为算法的初期验证提供了一个安全、快速、低成本的测试平台。
-
通过软件包管理器安装 SDL2 (sudo apt install libsdl2-dev 或是 brew install sdl2)
-
使用 pip install pyboy 安装 Pyboy
<p style="font-family: -apple-system-font, system-ui, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);"><br /></p><section style="font-family: -apple-system-font, system-ui, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;letter-spacing: 0.544px;white-space: normal;color: rgb(0, 0, 0);widows: 1;font-size: 16px;text-align: left;background-color: rgb(255, 255, 255);"><section powered-by="xiumi.us"><section><section style="padding-right: 5px;padding-left: 5px;font-size: 15px;"><section style="font-size: 16px;"><section powered-by="xiumi.us"><section><section style="padding-right: 5px;padding-left: 5px;font-size: 15px;line-height: 1.75;"><hr style="letter-spacing: 1px;color: rgb(89, 89, 89);font-family: "Helvetica Neue", Helvetica, "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;word-spacing: 1px;border-style: solid;border-right-width: 0px;border-bottom-width: 0px;border-left-width: 0px;border-color: rgba(0, 0, 0, 0.098);transform-origin: 0px 0px 0px;transform: scale(1, 0.5);" /><section><section style="line-height: 1.9;word-spacing: 10px;letter-spacing: 2px;"><section style="letter-spacing: 0.544px;font-size: 14px;"><section style="padding: 5px;border-style: solid;border-width: 2px;"><section style="padding: 15px;border-style: dashed;border-width: 1px;"><section><img class="__bg_gif" data-ratio="0.125" data-type="gif" data-w="720" data-width="80%" style="box-sizing: border-box !important;visibility: visible !important;width: 486.391px !important;" src="https://www.zkxjob.com/wp-content/uploads/2022/04/wxsync-2022-04-20c3ad2cd59629f83b2af846c31f16db.gif" /></section><p style="margin-top: 10px;margin-bottom: 5px;padding-right: 0em;padding-left: 0em;letter-spacing: 1.5px;line-height: normal;"><span style="color: rgb(0, 122, 170);"><span style="font-size: 16px;">● </span><span style="font-size: 16px;text-decoration: underline;">80%的人都不知道,全球Python库下载前10名</span></span></p><p style="margin-top: 10px;margin-bottom: 5px;padding-right: 0em;padding-left: 0em;letter-spacing: 1.5px;line-height: normal;">● 我珍藏的一些好的Python代码,技巧|上篇</p><p style="margin-top: 10px;margin-bottom: 5px;padding-right: 0em;padding-left: 0em;letter-spacing: 1.5px;line-height: normal;"><span style="color: rgb(0, 122, 170);"><span style="font-size: 16px;">● </span><span style="font-size: 16px;text-decoration: underline;">爬取300本Python书籍,用Python告诉你哪家强?</span></span></p><section style="margin-top: 10px;margin-bottom: 5px;padding-right: 0em;padding-left: 0em;letter-spacing: 1.5px;line-height: normal;"><span style="color: rgb(0, 122, 170);"><span style="font-size: 16px;">● </span><span style="font-size: 16px;text-decoration: underline;">简单几步,100行代码用Python画一个蝙蝠侠的logo</span></span></section><section style="margin-top: 10px;margin-bottom: 5px;padding-right: 0em;padding-left: 0em;letter-spacing: 1.5px;line-height: normal;"><span style="color: rgb(0, 122, 170);"><span style="font-size: 16px;">● </span><span style="font-size: 16px;text-decoration: underline;">我用Python分析了《青春有你2》109位漂亮小姐姐,真香!</span></span></section></section></section></section></section></section></section></section></section></section></section></section></section></section><p style="font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;letter-spacing: 0.544px;white-space: normal;text-align: center;widows: 1;font-size: 16px;background-color: rgb(255, 255, 255);caret-color: rgb(62, 62, 62);color: rgb(62, 62, 62);word-spacing: 2px;text-size-adjust: auto;"><br /></p><section style="margin-right: 16px;margin-left: 16px;letter-spacing: 0.544px;white-space: normal;font-size: 16px;background-color: rgb(255, 255, 255);text-align: center;color: rgb(62, 62, 62);font-family: "Helvetica Neue", Helvetica, "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;widows: 1;word-spacing: 2px;line-height: 2em;"><img data-cropselx1="0" data-cropselx2="175" data-cropsely1="0" data-cropsely2="166" data-ratio="1" data-type="jpeg" data-w="1280" style="font-family: 微软雅黑;letter-spacing: 0.544px;box-sizing: border-box !important;visibility: visible !important;width: 243px !important;" src="https://www.zkxjob.com/wp-content/uploads/2022/04/wxsync-2022-04-208179e2c8bf00830fa69c7964b0cc53.jpeg" /></section><section style="margin-right: 16px;margin-left: 16px;letter-spacing: 0.544px;white-space: normal;font-size: 16px;background-color: rgb(255, 255, 255);text-align: center;color: rgb(62, 62, 62);font-family: "Helvetica Neue", Helvetica, "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;widows: 1;word-spacing: 2px;line-height: 2em;">每天分享一些有趣的干货</section><pre style="letter-spacing: 0.544px;background-color: rgb(255, 255, 255);"><section style="margin-right: 8px;margin-left: 8px;white-space: normal;letter-spacing: 0.544px;font-size: 16px;color: rgb(62, 62, 62);text-align: center;word-spacing: 2px;"><br /></section>
点赞是最大的支持
本篇文章来源于: 菜鸟学Python
本文为原创文章,版权归知行编程网所有,欢迎分享本文,转载请保留出处!
你可能也喜欢
- ♥ 你对 Python 了解多少?教你玩转Python变量和常量!01/11
- ♥ python列表生成的两种语法11/26
- ♥ 中国奥运会成绩,知道多少?13张图告诉你07/22
- ♥ 如何更改python环境变量09/04
- ♥ python中的vars函数是什么意思?09/19
- ♥ Python开发工具之神兵利器02/24
内容反馈