安装与编译linux预测库,存在的问题
Created by: CVdandelion
git clone https://github.com/paddlepaddle/Paddle
cd Paddle
git clone https://github.com/NVIDIA/nccl.git
cd nccl
make -j4
make install
PADDLE_ROOT=/path/of/paddle
cd Paddle
mkdir build
cd build
cmake -DFLUID_INFERENCE_INSTALL_DIR=$PADDLE_ROOT
-DCMAKE_BUILD_TYPE=Release
-DWITH_PYTHON=OFF
-DWITH_MKL=OFF
-DWITH_GPU=OFF
-DON_INFER=ON
-DWITH_NCCL=OFF
..
前面的指令执行的都没有问题,可是在进行编译时,出现从github,文件下在不下来的问题,,有时候,一会之后
会出现这个提示,大部分时间都的卡死在Cloning into 'extern_protobuf'...,这句话的地方。
[ 0%] Built target extern_zlib
[ 0%] Performing download step (git clone) for 'extern_protobuf'
Cloning into 'extern_protobuf'...
Note: checking out '9f75c5aa851cd877fb0d93ccc31b8567a6706546'.
You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
HEAD is now at 9f75c5aa8 Merge pull request #2337 from sergiocampama/deprecation Submodule 'third_party/benchmark' (https://github.com/google/benchmark.git) registered for path 'third_party/benchmark' Cloning into '/home/robot/workspace/PaddleDetection-release-0.3/projects/Paddle/build/third_party/protobuf/src/extern_protobuf/third_party/benchmark'... Submodule path 'third_party/benchmark': checked out '360e66c1c4777c99402cf8cd535aa510fee16573' 查资料好像是什么游历状态,刚开始接触这个,请问是什么原因 之后在便宜的过程中,还会出现错误!