-
Environment Preparation
- Supported Python versions: 3.7 - 3.10 (tested on Linux systems).
-
Install the DL Framework
- For the CPU version, simply run the following command:
pip install paddlepaddle
- For the GPU version:
- On Linux, the maximum supported version is 2.5:
pip install paddlepaddle-gpu==2.5
- On Windows, the maximum supported version is 2.2.1:
pip install paddlepaddle-gpu==2.2.1
- On Linux, the maximum supported version is 2.5:
- For the CPU version, simply run the following command:
-
Adjust Numpy Version
- After installing PaddlePaddle, if the current numpy version is higher than 1.23.5, reinstall numpy:
pip install numpy==1.23.5
- After installing PaddlePaddle, if the current numpy version is higher than 1.23.5, reinstall numpy:
-
Install PARL and Gym
- Run the following command to install the latest versions of PARL and Gym:
pip install parl gym
- Run the following command to install the latest versions of PARL and Gym:
-
Test the Installation
- Use the following command to run the quick-start test script:
python examples/QuickStart/train.py
- Use the following command to run the quick-start test script: