Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于yolov8静态库的问题:[E] [TRT] 3: getPluginCreator could not find plugin: YoloLayer_TRT version: 1 #1542

Open
HWSQHL opened this issue Jun 21, 2024 · 1 comment

Comments

@HWSQHL
Copy link

HWSQHL commented Jun 21, 2024

未编译成静态库时运行程序可以读取engine检测物体,当我将代码编译成静态库之后,反序列化engine文件时报错,找不到YoloLayer_TRT 插件,但是直接编译exe时能找到。
下面是报错详细信息:

[E] [TRT] 3: getPluginCreator could not find plugin: YoloLayer_TRT version: 1
[E] [TRT] 1: [pluginV2Runner.cpp::nvinfer1::rt::load::303] Error Code 1: Serialization (Serialization assertion creator failed.Cannot deserialize plugin since corresponding IPluginCreator not found in Plugin Registry)
Assertion failed: *engine, file C:\Users\yolo\src\Yolov8Trt.cpp, line 61

@wang-xinyu
Copy link
Owner

静态库,也需要链接libmyplugins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants