Comments (8)
无论是docker还是本地安装,一直报/usr/bin/ld: cannot find -lhourglasstrt
/usr/bin/ld: cannot find -llibnvinfer.so.7.0.0
/usr/bin/ld: cannot find -llibnvonnxparser.so.7.0.0
错误,无语
from tensorrt.
麻烦您回复下,tensorrt7.0,cuda10.2,cudnn7.6.5
from tensorrt.
libhourglasstrt.so 那个是要先make libhourglasstrt 另外两个你检查下你有没有这个文件
from tensorrt.
我设置set(TRT_LIB /usr/lib/x86_64-linux-gnu/libnvinfer.so.7.0.0 /usr/lib/x86_64-linux-gnu/libnvonnxparser.so.7.0.0 /usr/lib/x86_64-linux-gnu/libcuda.so)已经没有/usr/bin/ld: cannot find -llibnvinfer.so.7.0.0
/usr/bin/ld: cannot find -llibnvonnxparser.so.7.0.0错误
但是make时候依然
/usr/bin/ld: cannot find -lhourglasstrt
collect2: error: ld returned 1 exit status
CMakeFiles/hourglass.dir/build.make:145: recipe for target 'bin/hourglass' failed
make[2]: *** [bin/hourglass] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/hourglass.dir/all' failed
make[1]: *** [CMakeFiles/hourglass.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
from tensorrt.
你应该是去设置lib库的dir 而不是直接set 具体的可以看看cmake的语法 hourglasstrt那个问题是你首先需要编译生成这个lib 才能去链接 make + 需要编译的名字 这点我没写清楚 之后会再更新一版readme
from tensorrt.
ok,已经解决了,除了 hourglasstrt和resnettrt
from tensorrt.
谢谢
from tensorrt.
平台:Jetson Nano
TRT lib在/usr/lib/aarch64-linux-gnu/libnvinfer.so.7
和/usr/lib/aarch64-linux-gnu/libnvonnxparser.so.7
操作的步骤是
cmake -DCMAKE_BUILD_TYPE=Release ..
make retinanettrt
make retinanet
/usr/bin/ld: cannot find -llibnvinfer.so.7.0.0
/usr/bin/ld: cannot find -llibnvonnxparser.so.7.0.0
collect2: error: ld returned 1 exit status
CMakeFiles/retinanet.dir/build.make:113: recipe for target 'bin/retinanet' failed
make[3]: *** [bin/retinanet] Error 1
CMakeFiles/Makefile2:511: recipe for target 'CMakeFiles/retinanet.dir/all' failed
make[2]: *** [CMakeFiles/retinanet.dir/all] Error 2
CMakeFiles/Makefile2:523: recipe for target 'CMakeFiles/retinanet.dir/rule' failed
make[1]: *** [CMakeFiles/retinanet.dir/rule] Error 2
Makefile:274: recipe for target 'retinanet' failed
make: *** [retinanet] Error 2
请问应该怎么解决呢?
谢谢!
已经解决。
from tensorrt.
Related Issues (20)
- 请教关于pytorch-yolov3-onnx-tensorRT加速问题 HOT 1
- 编译问题 HOT 2
- 多线程问题 HOT 1
- run yolov5 failed HOT 1
- yolov5s int8量化不出框? HOT 5
- 这是一个非常好的项目, 但是https://github.com/Syencil/tensorflow-yolov3没有了,能否重新上传您的项目呢,我使用原版代码无法完成.pb到.onnx的转换 HOT 5
- resnet infer编译有问题,代码继承那可能需要改下 HOT 1
- tensorRT6.0有问题 HOT 1
- Psnet onnx转trt咨询 HOT 1
- 最后的trt可以被编译成so吗? HOT 1
- Serializing Engine Failed
- pytorch 模型的输入格式为B,C,H,W,而opencv读入的图片为H,W,C,请问是C++是怎么将H,W,C转为C,H,W格式的?类似于numpy.transpose的功能 HOT 3
- 请问yolov5的版本是多少的,v4.0的么 HOT 1
- are you available? HOT 2
- 编译错误:/usr/bin/ld: cannot find -lfcostrt HOT 2
- YOLOv5 parse problem HOT 1
- 再实际中trt也不存在理想上的动态输入?trt不是支持动态输入阿,像psenet的话肯定需要动态输入阿 HOT 1
- yolov5s 检测不出框 HOT 2
- yolov5 run error:Found unsupported datatype (11) when importing initializer: model.0.conv.total_ops
- /usr/bin/ld: 找不到 -lyolov5trt
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensorrt.