Comments (11)
这应该是没有找到ffmpeg的库。
- 首先确认ffmpeg已经安装成功。在终端输入 ffmpeg --version看看是否有输出。
- 如果输出正常,请检查CMakeLists.txt中ffmpeg的路径是否正确。
- 如果确定无误,请检查是否将 ffmpeg的动态链接库添加到环境变量LD_LIBRARY_PATH。在终端 echo $LD_LIBRARY_PATH 看看输出中是否包含ffmpeg库(lib)的路径。如果没有,请添加。
- 对了,我之前遇到过一个bug:这个空格不能删除,如果删除就无法编译。这个bug,不知道你那是否存在,有可能是偶发性的,我还没找到原因。
![image](https://private-user-images.githubusercontent.com/45001683/265472062-fc77e6a7-f86f-45ab-a41b-7f8b5c3e8fb3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTI5MzkwMzIsIm5iZiI6MTcxMjkzODczMiwicGF0aCI6Ii80NTAwMTY4My8yNjU0NzIwNjItZmM3N2U2YTctZjg2Zi00NWFiLWE0MWItN2Y4YjVjM2U4ZmIzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDEyVDE2MTg1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc5Y2Q3Mzk0ZTI1NDAzYTIyMTNlN2ZmOWZkY2JlOGQ1MDkyNGUwNDBiMmYwZmUyNTE2NjlmZmZkZTVmNjQwMmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.y_Kv1J7vW7OmpzrjfG-E2e4fhXwz4KzBGsNQV2uNqQo)
from trt-yolov8-seg.
现在 -lavdevice -lavfilter -lpostproc都找到了 ,但还是显示无法找到 -lmyelin,请问myelin是哪个工具里的动态链接库?
from trt-yolov8-seg.
好像是TensorRT7中的动态链接库,如果使用的TensorRT8可以删除
from trt-yolov8-seg.
谢谢您的回复!以上问题已解决。
但在make之后,在bin目录下执行./test_http_server。显示:
Could not open file ../workspace/model/echarger-v8x.transd.onnx
Could not open file ../workspace/model/echarger-v8x.transd.engine.
我查看了workspace文件夹,里面只有log文件并没有model,我是不是要在网上自己下载一个yolov8模型将其转化为.onnx和.emgine放到model里?
from trt-yolov8-seg.
使用YOLOv8 导出onnx 即可。再使用 python v8trans.py your.onnx。再将 转换后的onnx保存到workspace/models/****.onnx。代码会自动编译成engine文件并且保存。
对了,要改这两个路径哟!
from trt-yolov8-seg.
你好,在下面的错误中,我好像需要修改引擎配置,以匹配模型的输入维度,应该在哪个文件中修改呢?另外,请问您知道代码为什么会出现输入维度不匹配的错误呢,并没有修改过原始代码。
from trt-yolov8-seg.
将YOLOv8的源代码作如下改动试试:
![image](https://private-user-images.githubusercontent.com/45001683/265733009-1419a9bf-271f-411b-b8a1-14e14d65fe34.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTI5MzkwMzIsIm5iZiI6MTcxMjkzODczMiwicGF0aCI6Ii80NTAwMTY4My8yNjU3MzMwMDktMTQxOWE5YmYtMjcxZi00MTFiLWI4YTEtMTRlMTRkNjVmZTM0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDEyVDE2MTg1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVjNGYyMDFmMzBiNjgyZTY3ZWVmZWQ2MDk3MGE1ZmM3NjY2ODY1OTYyMWE4Y2E3YWUzZWJhZmQ0NWEyODQ0Y2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.tBfchNWKwo-T0IEnKD3o10H8856Ke7n8y1pjmy1iK1k)
from trt-yolov8-seg.
改动之后,生成.transd.onnx,再./test_http_server,显示找不到output1,奇怪。
from trt-yolov8-seg.
这是因为你用的是目标检测方法吧,我这个代码是针对的实例分割,我后续会开发目标检测的!
from trt-yolov8-seg.
原来如此,那感觉不懂c++的话也很难继续往下改了,期待您新的项目发出,届时俺继续来学习!!感谢您近期的耐心的回答!!!
from trt-yolov8-seg.
已完成目标检测方法的开发,请更新到develop分支:https://github.com/Zhou-wy/TRT-YOLOv8-Seg/tree/develop。
test_http_server中已改成目标检测。
from trt-yolov8-seg.
Related Issues (4)
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 trt-yolov8-seg.