citbrains / GankenKun_webots

Control of humanoid robots on webots, walking, deep-learning, Bayesian-optimization
14 stars 4 forks source link

MARLlibの環境構築 #75

Closed yasuohayashibara closed 10 months ago

yasuohayashibara commented 1 year ago

MARLlibの環境構築の記録を残す

yasuohayashibara commented 1 year ago

RTX2070 Ubuntu1804 の場合 MARLlibを参考にする.

virtualenvを使用

install

virtualenv -p python3.8 env
source env/bin/activate
pip install marllib protobuf==3.20.0 gym==0 .22.0

execute

git clone https://github.com/Replicable-MARL/MARLlib
cd  MARLlib/examples
python api_basic_usage.py
yasuohayashibara commented 1 year ago

RTX4090 Ubuntu2004 の場合 MARLlibを参考にする.

virtualenvを使用

install

virtualenv -p python3.8 env
source env/bin/activate
pip install marllib protobuf==3.20.0 gym==0.22.0
pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/cu111/torch_stable.html
pip install pandas tabulate requests dm_tree scipy

execute

git clone https://github.com/Replicable-MARL/MARLlib
cd  MARLlib/examples
python api_basic_usage.py
yasuohayashibara commented 1 year ago

RTX2070 Ubuntu1804 の場合

virtualenv -p python3.8 env
source env/bin/activate
cd
git clone -b soccer https://github.com/citbrains/MARLlib
cd MARLlib
pip install -r requirements.txt
python setup.py install
yasuohayashibara commented 10 months ago

不要なのでissueを閉じます.