Skip to content

Install Dependencies

Install dependencies

# Install the GPU version of paddlepaddle
pip install paddlepaddle-gpu -U

# Or install the CPU version of paddlepaddle
pip install paddlepaddle -U
pip install paddlehub

Tips

In addition to the above dependencies, the pre-trained model and preset data set of paddlehub need to be downloaded from the server. Please ensure the machine can access the network normally. If relevant data sets and pre-trained models already exist locally, paddlehub can run offline.