Comments (5)
原来系统是ubuntu16.04 不支持GLIBC_2.27,系统换成18.04可以正常编译了!
from yolov5_tensorrt_int8.
你的OpenCV放到/usr/local目录下吗?
from yolov5_tensorrt_int8.
[ 50%] Building CXX object CMakeFiles/YoloV5sEngine.dir/yolov5s_infer.cc.o
In file included from /usr/local/opencv-3.4.2/include/opencv2/calib3d.hpp:48:0,
from /usr/local/opencv-3.4.2/include/opencv2/opencv.hpp:56,
from /home/wangyuanwen/tensorrt_test/yolov5_tensorrt_int8/yolov5s_infer.cc:6:
/usr/local/opencv-3.4.2/include/opencv2/features2d.hpp:50:10: fatal error: opencv2/flann/miniflann.hpp: No such file or directory
#include "opencv2/flann/miniflann.hpp"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/YoloV5sEngine.dir/build.make:62: recipe for target 'CMakeFiles/YoloV5sEngine.dir/yolov5s_infer.cc.o' failed
make[2]: *** [CMakeFiles/YoloV5sEngine.dir/yolov5s_infer.cc.o] Error 1
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/YoloV5sEngine.dir/all' failed
make[1]: *** [CMakeFiles/YoloV5sEngine.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
你把opencv放到你的用户目录下试试
from yolov5_tensorrt_int8.
from yolov5_tensorrt_int8.
@wang911205我遇到了跟你一样的问题,请问还有其他解决方案吗?
from yolov5_tensorrt_int8.
Related Issues (11)
- 请问trt_engine_lib是怎么生成的? HOT 5
- 你好,能给一份yolov5s的激活函数替换为relu重新训练后的模型么?谢谢
- make报错,总是显示undefined reference
- 你好,检测的代码就需要nms,iou的代码用c++写出来? HOT 2
- 关于如何生成LibMyTtrEngine-trt721.so
- make编译错误 HOT 3
- 请问onnx模型路径在哪里呢?onnx文件在哪里下载? tks HOT 1
- 你好为什么后处理的时候需要初始anchors? HOT 1
- how to generate dll file on windows10? HOT 3
- 如何进行动态shape输入?
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 yolov5_tensorrt_int8.