- PaddlePaddle >= 2.0.0
- Python >= 3.6
- CUDA >= 9.0
pip install -U paddlepaddle-gpu==2.0.0
Note: command above will install paddle with cuda10.2, if your installed cuda is different, please visit home page of paddlepaddle for more help.
# only support Python3
python3 -m pip install --upgrade ppgan==2.0.0b0
Download the examples and configuration files via cloning the source code:
git clone https://github.com/PaddlePaddle/PaddleGAN
cd PaddleGAN
git clone https://github.com/PaddlePaddle/PaddleGAN
cd PaddleGAN
pip install -v -e . # or "python setup.py develop"
If you need to use ppgan to handle video-related tasks, you need to install ffmpeg. It is recommended that you use conda to install:
conda install x264=='1!152.20180717' ffmpeg=4.0.2 -c conda-forge
If you want to use PaddlePaddle VisualDL to monitor the training process, Please install VisualDL
(For more detail refer here):
python -m pip install visualdl -i https://mirror.baidu.com/pypi/simple