enazoe / yolo-tensorrt

TensorRT8.Support Yolov5n,s,m,l,x .darknet -> tensorrt. Yolov4 Yolov3 use raw darknet *.weights and *.cfg fils. If the wrapper is useful to you,please Star it.
MIT License
1.19k stars 315 forks source link

undefined symbol #18

Closed npumazehong closed 4 years ago

npumazehong commented 4 years ago

undefined symbol: _ZN8Detector6detectERKN2cv3MatERSt6vectorI6ResultSaIS5_EE undefined symbol: _ZN8Detector4initERK6Config

I could run your sample yesterday.But today when I ran this sample,the errors above happened.I try to solve it,but it always show these errors.I know that the undefined symbol happens in "detector->init(config)" and "detector->detect()".My device is Nvidia Xavier NX,and the os is Ubuntu 18.04 customed by Nvidia.

enazoe commented 4 years ago

@npumazehong ok,sorry,I will fix it soon

npumazehong commented 4 years ago

@npumazehong ok,sorry,I will fix it soon

So,have you find the error of dynamic link absence? I could not sovle this problem myself. Could you help me fix it soon? Thanks

enazoe commented 4 years ago

@npumazehong I 'm so sorry, my nx was taken by a colleague,and only wait for him to return to check what went wrong. you could try comment this line and rebuild.

npumazehong commented 4 years ago

I'm glad to receive your letter.You are such a nice man. I have commentted that line,but it didn't work. I guess there is something wrong happens in linking dynamic libraries or the definition of Detector(YoloDetector) Class's method.   I'm looking forward to your reply.

------------------ 原始邮件 ------------------ 发件人: "enazoe"<notifications@github.com>; 发送时间: 2020年7月16日(星期四) 下午2:37 收件人: "enazoe/yolo-tensorrt"<yolo-tensorrt@noreply.github.com>; 抄送: "Zehong Ma"<770634926@qq.com>; "Mention"<mention@noreply.github.com>; 主题: Re: [enazoe/yolo-tensorrt] undefined symbol (#18)

@npumazehong I 'm so sorry, my nx was taken by a colleague,and only wait for him to return to check what went wrong. you could try comment this line and rebuild.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

enazoe commented 4 years ago

@npumazehong give your wechat account :)

npumazehong commented 4 years ago

ma770634926

------------------ 原始邮件 ------------------ 发件人: "enazoe/yolo-tensorrt" <notifications@github.com>; 发送时间: 2020年7月16日(星期四) 下午3:05 收件人: "enazoe/yolo-tensorrt"<yolo-tensorrt@noreply.github.com>; 抄送: "Zehong Ma"<770634926@qq.com>;"Mention"<mention@noreply.github.com>; 主题: Re: [enazoe/yolo-tensorrt] undefined symbol (#18)

@npumazehong give your wechat account :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.