Tengine X86 安裝

Tengine 是移動端推理框架:

安裝可以參考:

http://www.tengine.org.cn/tutorial_display.php?id=8

https://github.com/OAID/Tengine/blob/master/doc/install.md

但在實際安裝中會有寫問題:

1.protobuf 版本不對:默認安裝是2.6的不是我們要的3.0

    sudo apt install libprotobuf-dev protobuf-compiler

 於是我們只能通過下載源代碼安裝參考:https://blog.csdn.net/FK2016/article/details/83375048

git clone -b v3.3.0 https://github.com/protocolbuffers/protobuf.git

注意在安裝中執行

./autogen.sh

會下載gmock,這裏可以直接去github上下載:https://github.com/google/googletest/releases/tag/release-1.7.0

然後修改protobuf/autogen.sh

  unzip -q googletest-release-1.7.0.zip
  rm googletest-release-1.7.0.zip
  mv googletest-release-1.7.0 gmock

 安裝openblas

sudo apt-get install libopenblas-base libopenblas-dev

 好了接下來就按照官網make 就好了

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章