服務(wù)器環(huán)境 ubuntu 20.04
更新系統(tǒng)
sudo apt-get update
安裝NCNN需要的依賴
sudo apt install build-essential git cmake libprotobuf-dev protobuf-compiler libvulkan-dev vulkan-utils libopencv-dev
下載NCNN
git clone https://github.com/Tencent/ncnn.git
編譯NCNN
cd ncnn
mkdir build
cmake ..
make
安裝NCNN
make install