Closed HWSQHL closed 4 days ago
未编译成静态库时运行程序可以读取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
静态库,也需要链接libmyplugins
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
未编译成静态库时运行程序可以读取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