Tencent / TNN

TNN: developed by Tencent Youtu Lab and Guangying Lab, a uniform deep learning inference framework for mobile、desktop and server. TNN is distinguished by several outstanding features, including its cross-platform capability, high performance, model compression and code pruning. Based on ncnn and Rapidnet, TNN further strengthens the support and performance optimization for mobile devices, and also draws on the advantages of good extensibility and high performance from existed open source efforts. TNN has been deployed in multiple Apps from Tencent, such as Mobile QQ, Weishi, Pitu, etc. Contributions are welcome to work in collaborative with us and make TNN a better framework.
Other
4.38k stars 766 forks source link

convert2tnn下 build.sh安装onnx2tnn环境报错 #1865

Closed buwangchuxin1992 closed 1 year ago

buwangchuxin1992 commented 1 year ago

1. 使用环境(environment)

ls: cannot access 'tools/onnx2tnn/onnx-converter/onnx2tnn*.so': No such file or directory 但是我在tnn-v0.3.0-ubuntu-16.04-x86.tar.gz解压包中也没找到这个库?请问在哪里呢?

chenxijun1029 commented 1 year ago

我也遇到这个问题,sudo apt-get install libprotobuf-dev protobuf-compiler 安装protobuf可以解决

gttiankai commented 1 year ago

看下日志中标红的部分,日志显示你没有安装 protobuff。建议使用 docker 的方式进行模型转换。