多智能体强化学习smac环境配置(Linux)

编程入门 行业动态 更新时间:2024-10-25 04:19:18

多智能体强化学习smac<a href=https://www.elefans.com/category/jswz/34/1771403.html style=环境配置(Linux)"/>

多智能体强化学习smac环境配置(Linux)

1.创建pymarl环境:

conda create -n pymarl python=3.7 -y
conda activate pymarl 

2.pip安装一些包

pip install sacred numpy scipy matplotlib seaborn pyyaml pygame pytest probscale imageio snakeviz tensorboard-logger

3.下载安装smac

git clone .git
pip install -e smac/

4.下载安装星际争霸

   这个最好在pymarl 搞完之后下载 因为pymarl 会把星系争霸安装在3rdparty下。一开始我先下载安装星系争霸在默认路径,到最后运行时出现错误:

pysc2.lib.remote_controller.ConnectError: Failed to connect to the SC2 websocket. Is it up?

所以先5

5.下载安装pymarl

直接git clone

git clone .git

然后在pymarl中创建3rdparty文件夹

将4下载的星际争霸解压到3rdparty(重要),还有把map放入对应文件,主要参考:

更多推荐

多智能体强化学习smac环境配置(Linux)

本文发布于:2024-03-07 05:12:44,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1716932.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:环境   智能   smac   Linux

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!