# 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
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.