当前位置:网站首页>Python implementation of maddpg - (1) openai maddpg environment configuration

Python implementation of maddpg - (1) openai maddpg environment configuration

2022-07-06 03:19:00 Up and down black

Reference Content

OpenAI MADDPG To configure _cat tree The blog of -CSDN Blog

Engineering configuration -OpenAI MADDPG - You know


One 、 Download official code , Put it into your own folder

https://github.com/openai/multiagent-particle-envs

Two 、 stay anacoda Create a new virtual environment in

To configure Python3.6 Environment (3.5.4 Discomfort may occur pycharm The situation of ).

  Download the required dependencies as required ( package ).

3、 ... and 、 Install multi-agent environment

1、 Activate new Python3.6 Environmental Science ( It's called “python36”)

activate python36

 2、 Installation environment

Decompress the downloaded environment file , Enter the folder . Enter the command at the terminal .

cd ‘ The path of the folder ’

Installation environment , Enter the command

pip install -e .

3、 Test environment

python bin/interactive.py --scenario simple.py

The appearance of the game screen means that the environment is successfully installed .

原网站

版权声明
本文为[Up and down black]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/187/202207060318134935.html