conda create -n marllib python==3.8
conda activate marllib
# please install pytorch <= 1.9.1 compatible with your hardware.
pip install ray==1.8.0
pip install ray[tune]
pip install ray[rllib]
git clone https://github.com/Replicable-MARL/MARLlib.git
cd MARLlib
pip install -e .
pip install icecream && pip install supersuit && pip install gym==0.21.0 && pip install importlib-metadata==4.13.0
git clone https://github.com/MultiAgentLearning/playground
cd playground
pip install .
cd /home/YourPathTo/MARLlib/patch
python add_patch.py --pommerman
pip install gym==0.21.0
cd /Path/To/MARLlib/patch
python add_patch.py -y
cd /Path/To/MARLlib/patch
python add_patch.py -y -p
MARLlib安装步骤
最新推荐文章于 2024-08-21 09:42:31 发布