This document introduces how to install PaddleClas and its requirements.
Python 3.5, CUDA 9.0, CUDNN7.0 nccl2.1.2 and later version are required at first, For now, PaddleClas only support training on the GPU device. Please follow the instructions in the Installation if the PaddlePaddle on the device is lower than PaddlePaddle-2.0rc.
Install PaddlePaddle
pip install paddlepaddle-gpu --upgrade
or compile from source code, please refer to Installation.
Verify Installation
import paddle.fluid as fluid
fluid.install_check.run_check()
Check PaddlePaddle version:
python -c "import paddle; print(paddle.__version__)"
Note:
**Clone PaddleClas: **
cd path_to_clone_PaddleClas
git clone https://github.com/PaddlePaddle/PaddleClas.git
Install requirements
pip install --upgrade -r requirements.txt
If the install process of visualdl failed, you can try the following commands.
pip3 install --upgrade visualdl==2.0.0b3 -i https://mirror.baidu.com/pypi/simple
What's more, visualdl is just supported in python3, so python3 is needed if you want to use visualdl.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。