更新算法模版
This commit is contained in:
465
projects/parl_tutorials/DDPG.ipynb
Normal file
465
projects/parl_tutorials/DDPG.ipynb
Normal file
File diff suppressed because one or more lines are too long
538
projects/parl_tutorials/DQN.ipynb
Normal file
538
projects/parl_tutorials/DQN.ipynb
Normal file
File diff suppressed because one or more lines are too long
19
projects/parl_tutorials/README.md
Normal file
19
projects/parl_tutorials/README.md
Normal file
@@ -0,0 +1,19 @@
|
||||
## 运行环境
|
||||
|
||||
由于```parl```和```paddle```容易与notebook相关模块发生版本冲突,因此推荐新建一个Conda环境:
|
||||
```bash
|
||||
conda create -n parl python=3.7
|
||||
```
|
||||
|
||||
然后安装```parl```和```paddle```:
|
||||
```bash
|
||||
pip install parl==2.0.5
|
||||
|
||||
pip install paddlepaddle-gpu==2.3.2 -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
|
||||
pip install paddlepaddle==2.3.2 -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
```
|
||||
安装其他依赖:
|
||||
```bash
|
||||
pip install -r parl_requirements.txt
|
||||
```
|
||||
7
projects/parl_tutorials/parl_requirements.txt
Normal file
7
projects/parl_tutorials/parl_requirements.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
gym==0.19.0
|
||||
ipykernel==6.0.0
|
||||
jupyter==1.0.0
|
||||
pyzmq==18.1.1
|
||||
jupyter-client==7.0.0
|
||||
matplotlib==3.5.3
|
||||
seaborn==0.12.0
|
||||
Reference in New Issue
Block a user